public function testResetAdapter() { $this->if($test = new emptyTest())->and($adapter = new \mock\mageekguy\atoum\test\adapter())->and($this->resetMock($adapter))->then->object($test->resetAdapter($adapter))->isIdenticalTo($adapter)->mock($adapter)->call('resetCalls')->once(); }