Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/examples/use/
DExampleTest.java68 …when(mockDatabase.getArticlesFor("Guardian")).thenReturn(Arrays.asList(articleOne, articleTwo, art… in managerUpdatesNumberOfRelatedArticles()
85 … when(mockDatabase.getArticlesFor("Guardian")).thenReturn(Arrays.asList(articleOne, articleTwo)); in shouldPersistRecalculatedArticle()
DArticleDatabase.java21 public List<Article> getArticlesFor(String string) { in getArticlesFor() method in ArticleDatabase
DArticleManager.java30 List<Article> articles = database.getArticlesFor("Guardian"); in updateRelatedArticlesCounters()