Area Registration Just Mock Unit Test

2 posts, 0 answers
  1. sema
    sema avatar
    7 posts
    Member since:
    Jun 2015

    Posted 09 May 2016 Link to this post


    I am trying to do admin area reqistration route unit test.But I have trouble.I asked from stackoverflow but there is no answer yet.Can you look at my question.And Can you help?

    Here is my question:


  2. Svetlozar
    Svetlozar avatar
    296 posts

    Posted 12 May 2016 Link to this post


    You will need JustMock full version in order to mock the environment required for your test. With JustMock Lite you can mock only virtual and interface members.

    I suggest you try another approach for your test, maybe using MvcRouteTest as suggested in the stackoverflow answer.

    If you have other questions, please don't hesitate to write back!

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Back to Top