eZ\Publish\Core\Repository\Tests\Helper\FieldTypeRegistryTest::testGetFieldTypeThrowsRuntimeExceptionIncorrectType PHP Метод

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

    public function testGetFieldTypeThrowsRuntimeExceptionIncorrectType()
    {
        $registry = new FieldTypeRegistry(array('none' => "I'm not a field type"));
        $registry->getFieldType('none');
    }