### Question:
OutputStageService extends AbstractService { public OutputStage getOutputStage(final Project project) { notNull(project, "project"); notNull(project.getId(), "project.id"); return getOutputStageByUri(OUTPUT_STAGE_TEMPLATE.expand(project.getId()).toString()); } OutputStageService(final RestTemplate restTemplate, final GoodDataSettings settings); OutputStage getOutputStageByUri(final String uri); OutputStage getOutputStage(final Project project); OutputStage updateOutputStage(final OutputStage outputStage); static final UriTemplate OUTPUT_STAGE_TEMPLATE; }### Answer:
@Test(expectedExceptions = IllegalArgumentException.class) public void testGetOutputStageByNullProject() { outputStageService.getOutputStage(null); }