public function testGetFieldType()
{
$fieldTypes = array('one' => $this->getFieldTypeMock());
$registry = new FieldTypeRegistry($fieldTypes);
$fieldType = $registry->getFieldType('one');
$this->assertInstanceOf('eZ\\Publish\\SPI\\FieldType\\FieldType', $fieldType);
}