private function getMockFormType($typeClass = 'Symfony\Component\Form\AbstractType') { return $this->getMockBuilder($typeClass)->setMethods(array('getBlockPrefix', 'configureOptions', 'finishView', 'buildView', 'buildForm'))->getMock(); }