diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php index 05497fceaa..94eaa34d0e 100644 --- a/src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php +++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php @@ -76,14 +76,6 @@ class PropertyPathMapperTest extends \PHPUnit_Framework_TestCase return $form; } - /** - * @return \PHPUnit_Framework_MockObject_MockObject - */ - private function getDataMapper() - { - return $this->getMock('Symfony\Component\Form\DataMapperInterface'); - } - public function testMapDataToFormsPassesObjectRefIfByReference() { $car = new \stdClass(); diff --git a/src/Symfony/Component/Form/Tests/FormFactoryTest.php b/src/Symfony/Component/Form/Tests/FormFactoryTest.php index 546f6bd6c0..1c6acf4344 100644 --- a/src/Symfony/Component/Form/Tests/FormFactoryTest.php +++ b/src/Symfony/Component/Form/Tests/FormFactoryTest.php @@ -489,11 +489,6 @@ class FormFactoryTest extends \PHPUnit_Framework_TestCase return $this->getMock('Symfony\Component\Form\ResolvedFormTypeInterface'); } - private function getMockType() - { - return $this->getMock('Symfony\Component\Form\FormTypeInterface'); - } - private function getMockFormBuilder() { return $this->getMock('Symfony\Component\Form\Test\FormBuilderInterface');