public function testTestCreateNewExceptionWithFactoryForUnexpectedCall()
{
$exception = ResolverNotFoundExceptionFactory::createUnexpectedCall('fake');
$this->assertEquals('Expected method "fake" to be called only if it has a resolver.', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}