Nelmio\Alice\Throwable\Exception\Generator\Resolver\ResolverNotFoundExceptionFactoryTest::testTestCreateNewExceptionWithFactoryForUnexpectedCall PHP Method

testTestCreateNewExceptionWithFactoryForUnexpectedCall() public method

    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());
    }