When should we use Mockery vs JUnit4Mockery?
Posted
by Aman
on Stack Overflow
See other posts from Stack Overflow
or by Aman
Published on 2010-05-13T08:18:26Z
Indexed on
2010/05/13
8:24 UTC
Read the original article
Hit count: 232
If writing a Java unit test with mocking using JMock, should we use
Mockery context = new Mockery()
or
Mockery context = new JUnit4Mockery()
What is the difference between the two, and when should we use which?
© Stack Overflow or respective owner