Nelmio\Alice\Throwable\Exception\FixtureNotFoundExceptionFactoryTest::testTestCreateNewExceptionWithFactory PHP Method

testTestCreateNewExceptionWithFactory() public method

    public function testTestCreateNewExceptionWithFactory()
    {
        $exception = FixtureNotFoundExceptionFactory::create('foo');
        $this->assertEquals('Could not find the fixture "foo".', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }
FixtureNotFoundExceptionFactoryTest