Nelmio\Alice\Throwable\Exception\Generator\Context\CachedValueNotFoundTest::testTestCreate PHP Метод

testTestCreate() публичный Метод

public testTestCreate ( )
    public function testTestCreate()
    {
        $exception = CachedValueNotFound::create('foo');
        $this->assertEquals('No value with the key "foo" was found in the cache.', $exception->getMessage());
        $this->assertEquals(0, $exception->getCode());
        $this->assertNull($exception->getPrevious());
    }
CachedValueNotFoundTest