diff --git a/tests/Type/EqualTypeTest.php b/tests/Type/EqualTypeTest.php index bd878f94..21c6bb64 100644 --- a/tests/Type/EqualTypeTest.php +++ b/tests/Type/EqualTypeTest.php @@ -23,27 +23,6 @@ class EqualTypeTest extends TypeTestCase { - /** - * @doesNotPerformAssertions - */ - public function testBuildForm() - { - $formBuilder = $this->createMock(FormBuilder::class); - $formBuilder - ->expects($this->any()) - ->method('add') - ->willReturnCallback(function ($name, $type = null) { - if (null !== $type) { - $this->assertTrue(class_exists($type), sprintf('Unable to ensure %s is a FQCN', $type)); - } - }); - - $type = new EqualType($this->createMock(TranslatorInterface::class)); - $type->buildForm($formBuilder, [ - 'choices' => [], - ]); - } - /** * @group legacy */