prophecy = $this->prophesize(); $this->prophecy->willExtend(self::NS . 'MergeBox'); } /** * {@inheritdoc} */ public function tearDown() { $mergeBox = $this->prophecy->reveal(); $actual = $this->reporter->report($mergeBox); $this->assertEquals($this->expected, $actual); } }