public function testAddOutput() { $job = new Job('foo'); $this->assertNull($job->getOutput()); $job->addOutput('foo'); $this->assertEquals('foo', $job->getOutput()); $job->addOutput('bar'); $this->assertEquals('foobar', $job->getOutput()); }