Arranging Mocks in a different class than the Test Class

2 posts, 0 answers
  1. Jose
    Jose avatar
    5 posts
    Member since:
    Apr 2011

    Posted 19 Oct 2012 Link to this post

    Is this possible?

    I would like to arrange mocks in a class that the test class instantiates. It seems that the mock context doesn't carry over though, as none of my arranges get used. If i simply move the arranges to the test class, all seems happy.
  2. Kaloyan
    Kaloyan avatar
    871 posts

    Posted 23 Oct 2012 Link to this post

    Hello Jose,

     Thank you for contacting Telerik support.

     As far as I can understand, you want to use JustMock`s "Future Mocking" feature, which is shown here (please correct me if I have misunderstood you):

     Is it possible for you to send us an example or a sample solution about the issue you are experiencing, so we can investigate it further or understand it clearer.

     Thank you for your cooperation in advance.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top