21
21
* <li>Makes the verification error easier to read because the <b>field name</b> is used to identify the mock.</li>
25
25
* public class ArticleManagerTest extends SampleBaseTestCase {
27
27
* @Mock private ArticleCalculator calculator;
28
28
* @Mock(name = "dbMock") private ArticleDatabase database;
29
29
* @Mock(answer = RETURNS_MOCKS) private UserProvider userProvider;
31
32
* private ArticleManager manager;
33
34
* @Before public void setup() {
35
* manager = new ArticleManager(userProvider, database, calculator, articleMonitor);