use of com.enonic.xp.repo.impl.node.NodeServiceImpl in project xp by enonic.
the class ContentServiceImplTest_getInvalidContent method test_empty_content_ids_returns_true.
@Test
public void test_empty_content_ids_returns_true() throws Exception {
NodeServiceImpl nodeService = Mockito.spy(this.nodeService);
Mockito.verify(nodeService, times(0)).findByQuery(Mockito.isA(NodeQuery.class));
assertTrue(this.contentService.getInvalidContent(ContentIds.empty()).isEmpty());
}
Aggregations