minor #15734 drop unused private methods (ewgRa)

This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #15734).

Discussion
----------

drop unused private methods

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Just drop two unused methods.

Commits
-------

0ffcc4f drop unused private methods
This commit is contained in:
Nicolas Grekas 2015-09-09 09:30:19 +02:00
commit 753d46ac03
2 changed files with 0 additions and 13 deletions

View File

@ -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();

View File

@ -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');