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