JustMock Free Trial Version

2 posts, 0 answers
  1. Karthik
    Karthik avatar
    1 posts
    Member since:
    Nov 2012

    Posted 21 Nov 2012 Link to this post

    Hi Guys,

    I am new to JustMock. I downloaded Free Trial Version of this product and trying to isolate WCF RIA Webservices (elevated feature) for my silverlight application.

    I setup everything and then i get "Could not create mock from sealed class when profiler is not enabled.". I checked for the below items

    1. no other profiler products are in use.
    2. all DLLs are registered properly, x86/x64.

    Am i missing something else?
  2. Kaloyan
    Kaloyan avatar
    878 posts

    Posted 22 Nov 2012 Link to this post

    Hi Karthik,

     Thank you for reaching Telerik support.

     In order to help you further, I must note that JustMock does not support profiled mocking for SilverLight applications. So, if your RIA is inside your SL project you will not be able to mock its sealed classes. Nevertheless, we have planned the development of fully profiled SL testing support for the very near future.

     However, if the RIA service is in any other kind of .NET project you should be able to mock it, using our product. If this is the case, I would recommend you to check this article for further assistance about the "Profiler must be enabled" exception.
     If the issue still remains, after completing the steps in the knowledge base, we will need you to send us a code sample with the SUT(system under test) and the concrete test that is failing. 

     Thank you for the understanding and the cooperation in advance.  

    Kind regards,
    the Telerik team
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
Back to Top