From 0ffcc4f53d62384efd8c90178df8729a666a84ee Mon Sep 17 00:00:00 2001 From: Evgeniy Sokolov Date: Wed, 9 Sep 2015 00:56:24 +0200 Subject: [PATCH] drop unused private methods --- .../Extension/Core/DataMapper/PropertyPathMapperTest.php | 8 -------- src/Symfony/Component/Form/Tests/FormFactoryTest.php | 5 ----- 2 files changed, 13 deletions(-) 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');