### Question:
ImageExploratoryServiceImpl implements ImageExploratoryService { @Override public List<ImageInfoRecord> getImagesForProject(String project) { return imageExploratoryDao.getImagesForProject(project); }  @Override String createImage(UserInfo user, String project, String exploratoryName, String imageName, String imageDescription); @Override void finishImageCreate(Image image, String exploratoryName, String newNotebookIp); @Override List<ImageInfoRecord> getNotFailedImages(String user, String dockerImage, String project, String endpoint); @Override ImageInfoRecord getImage(String user, String name, String project, String endpoint); @Override List<ImageInfoRecord> getImagesForProject(String project);  }### Answer:
@Test public void getImagesForProject() { when(imageExploratoryDao.getImagesForProject(anyString())).thenReturn(Collections.singletonList(getImageInfoRecord())); imageExploratoryService.getImagesForProject(PROJECT); verify(imageExploratoryDao).getImagesForProject(PROJECT); verifyNoMoreInteractions(imageExploratoryDao); }