Home
last modified time | relevance | path

Searched refs:articleThree (Results 1 – 1 of 1) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/examples/use/
DExampleTest.java62 Article articleThree = new Article(); in managerUpdatesNumberOfRelatedArticles() local
66 when(mockCalculator.countNumberOfRelatedArticles(articleThree)).thenReturn(0); in managerUpdatesNumberOfRelatedArticles()
68 …tabase.getArticlesFor("Guardian")).thenReturn(Arrays.asList(articleOne, articleTwo, articleThree)); in managerUpdatesNumberOfRelatedArticles()
74 verify(mockDatabase).save(articleThree); in managerUpdatesNumberOfRelatedArticles()