Quantcast
Channel: Telerik Blogs
Viewing all articles
Browse latest Browse all 5210

Handling Arguments in JustMock Arrangements

$
0
0
Mocking is all about making it easy to isolate the system under test in unit tests. In non profiled mocking, this is typically done by creating a proxy for an interface, and arranging the methods that will be called on the proxy. Mocking frameworks like JustMock determine matching calls not only based on the method signature, but also by the values of the arguments passed into the method. JustMock provides many mechanism to tune how the matching is done.

Viewing all articles
Browse latest Browse all 5210

Trending Articles