@Test public void factoryMethodShouldNotAllowNull() { mExpectedException.expect(IllegalArgumentException.class); ReportExecutionRequestOptions.newRequest(null); }
public static ReportExecutionRequestOptions newRequest(String uri) { if (uri == null) { throw new IllegalArgumentException("Uri should not be null"); } return new ReportExecutionRequestOptions(uri); }
ReportExecutionRequestOptions extends ExecutionRequestOptions { public static ReportExecutionRequestOptions newRequest(String uri) { if (uri == null) { throw new IllegalArgumentException("Uri should not be null"); } return new ReportExecutionRequestOptions(uri); } }
ReportExecutionRequestOptions extends ExecutionRequestOptions { public static ReportExecutionRequestOptions newRequest(String uri) { if (uri == null) { throw new IllegalArgumentException("Uri should not be null"); } return new ReportExecutionRequestOptions(uri); } private  ReportExecutionRequestOptions(String reportUnitUri); }
ReportExecutionRequestOptions extends ExecutionRequestOptions { public static ReportExecutionRequestOptions newRequest(String uri) { if (uri == null) { throw new IllegalArgumentException("Uri should not be null"); } return new ReportExecutionRequestOptions(uri); } private  ReportExecutionRequestOptions(String reportUnitUri); static ReportExecutionRequestOptions newRequest(String uri); String getReportUnitUri(); }
ReportExecutionRequestOptions extends ExecutionRequestOptions { public static ReportExecutionRequestOptions newRequest(String uri) { if (uri == null) { throw new IllegalArgumentException("Uri should not be null"); } return new ReportExecutionRequestOptions(uri); } private  ReportExecutionRequestOptions(String reportUnitUri); static ReportExecutionRequestOptions newRequest(String uri); String getReportUnitUri();  }