eZ\Publish\Core\Persistence\Tests\FieldTypeRegistryTest::testConstructor PHP Method

testConstructor() public method

public testConstructor ( )
    public function testConstructor()
    {
        $fieldType = $this->getFieldTypeMock();
        $registry = new FieldTypeRegistry(array('some-type' => $fieldType));
        $this->assertAttributeSame(array('some-type' => $fieldType), 'coreFieldTypeMap', $registry);
    }