function testMultipleMaintenanceObjectsInteractionOutputWChannelNL() { $m2 = new MaintenanceFixup($this); $this->m->output("foo\n", "bazChannel"); $m2->output("bar\n", "bazChannel"); $this->assertEquals("foobar", $this->getActualOutput(), "Output before shutdown simulation (m2)"); $m2->simulateShutdown(); $this->assertOutputPrePostShutdown("foobar\n", true); }