public function testGetNotCallableOrInstance() { $registry = new FieldTypeRegistry(array('some-type' => new \DateTime())); $registry->getFieldType('some-type'); }