/** * @depends testAddCompactor */ public function testCompactContents() { $compactor = new Compactor(); $this->box->addCompactor($compactor); $this->assertEquals('my value', $this->box->compactContents('test.php', ' my value ')); }