Gc\Datatype\ModelTest::testLoadEditor PHP Method

testLoadEditor() public method

Test
public testLoadEditor ( ) : void
return void
    public function testLoadEditor()
    {
        $model = PropertyModel::fromArray(array('datatype_id' => $this->object->getId(), 'document_id' => 1));
        //Specific to Textstring editor
        $this->assertInstanceOf('Zend\\Form\\Element\\Text', Model::loadEditor(Registry::get('Application')->getServiceManager(), $model));
    }