### Question:
StatusReportGenerator { public static StatusReportGenerator createFor(SensorTask sensorTask) { return new StatusReportGenerator(sensorTask); } private  StatusReportGenerator(SensorTask sensorTask); static StatusReportGenerator createFor(SensorTask sensorTask); StatusReportType generateWithTaskingParameters(); StatusReportType generateWithoutTaskingParameters();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testIllegalCreation() { StatusReportGenerator.createFor(null); }