### Question:
OutputStageService extends AbstractService { public OutputStage getOutputStageByUri(final String uri) { notEmpty(uri, "uri"); isTrue(OUTPUT_STAGE_TEMPLATE.matches(uri), "uri does not match output stage pattern: " + OUTPUT_STAGE_TEMPLATE.toString()); try { return restTemplate.getForObject(uri, OutputStage.class); } catch (RestClientException e) { throw new GoodDataException("Unable to get output stage " + uri, e); } } 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 testGetOutputStageByNullUri() { outputStageService.getOutputStageByUri(null); }