### Question:
ProxyReportService extends ReportService { @NotNull @Override public ReportExecution run(@Nullable String reportUri, @Nullable ReportExecutionOptions execOptions) throws ServiceException { Preconditions.checkNotNull(reportUri, "Report uri should not be null"); if (execOptions == null) { execOptions = ReportExecutionOptions.builder().build(); } return getDelegate().run(reportUri, execOptions); } ProxyReportService(ReportServiceFactory serviceFactory); @NotNull @Override ReportExecution run(@Nullable String reportUri,
                               @Nullable ReportExecutionOptions execOptions);  }### Answer:
@Test public void should_not_run_with_null_uri() throws Exception { expected.expect(NullPointerException.class); expected.expectMessage("Report uri should not be null"); proxyReportService.run(null, null); }
@Test public void should_delegate_run_call() throws Exception { proxyReportService.run(REPORT_URI, null); verify(mReportServiceFactory).newService(); verify(mReportService).run(eq(REPORT_URI), any(ReportExecutionOptions.class)); }