Typo.
Typo.
Functions given(), calling() and resetMock() are available in a test method

So, you can now do:

```
public function test__construct()
{
	given($testedInstance = new testedClass())) // replace $this->if(…)
	->then
		->string($testedInstance->foo())->isEqualTo('bar')
	->if($bar = new \mock\bar())
	->and(calling($bar)->doSomething->throw = new \exception()) // replace $this->calling(…)
	->and($testedInstance->setBar($bar))
	->then
		->exception(function() use ($testedInstance) { $testedInstance->doBar(); })
			->isIdenticalTo($exception)
		->mock($bar)->call('doSomething')->once()
	->if(resetMock($bar)) // replace $this->resetMock(…)
	->then
		->exception(function() use ($testedInstance) { $testedInstance->doBar(); })
			->isIdenticalTo($exception)
		->mock($bar)->call('doSomething')->once()
	;
}
```