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