/** * @covers Kunstmaan\PagePartBundle\Form\TextPagePartAdminType::setDefaultOptions */ public function testSetDefaultOptions() { $this->object->setDefaultOptions($this->resolver); $resolve = $this->resolver->resolve(); $this->assertEquals($resolve["data_class"], 'Kunstmaan\\PagePartBundle\\Entity\\TextPagePart'); }