Adding custom interfaces to your mock instance.
Posted by: Mehfuzs WebLog,
on 09 Jun 2010 |
View original | Bookmarked: 0 time(s)
Previously, i made a post showing how you can leverage the dependent interfaces that is implemented by JustMock during the creation of mock instance. It could be a informative post that let you understand how JustMock behaves internally for classes or interfaces implement other interfaces into it. But the question remains, how you can add your own custom interface to your target mock. In this post, i am going to show you just that. Today, i will not start with a dummy class as usual rather...