public function testResetCalls()
{
$this->if($mockController = new testedClass())->and($mockController->{$method = uniqid()} = function () {
})->then->array($mockController->getCalls())->isEmpty()->if($mockController->invoke($method, array()))->then->array($mockController->getCalls())->isNotEmpty()->object($mockController->resetCalls())->isIdenticalTo($mockController)->array($mockController->getCalls())->isEmpty();
}