}
public void testFirstWorkingReporter() throws Exception
{
WorkingReporter workingReporter = new WorkingReporter();
WorkingReporter workingReporter2 = new WorkingReporter();
FirstWorkingReporter reporter = new FirstWorkingReporter(new NonWorkingReporter(), workingReporter,
workingReporter2);
reporter.report("Hello", "world");
assertEquals("Hello", workingReporter.received);
assertNull(workingReporter2.received);
assertTrue(reporter.isWorkingInThisEnvironment(""));
}