### Question:
TakePictureRoutine { public PhotoResult takePicture() { TakePictureTask takePictureTask = new TakePictureTask(cameraDevice); cameraExecutor.execute(takePictureTask); return PhotoResult.fromFuture(takePictureTask); } TakePictureRoutine(CameraDevice cameraDevice,
                              Executor cameraExecutor); PhotoResult takePicture();  }### Answer:
@Test public void takePicture_EmptyRequest() throws Exception { PhotoResult result = testee.takePicture(); verify(executor).execute(isA(TakePictureTask.class)); assertNotNull(result); }