parent::
setUp();
$this->dispatcher =
$this->
createMock(EventDispatcherInterface::
class);
$this->builder =
new FormBuilder('', null,
$this->dispatcher,
$this->factory
);
} protected function getExtensions() { $extensions =
[];
if (\
in_array(ValidatorExtensionTrait::
class,
class_uses($this))) { $extensions[] =
$this->
getValidatorExtension();
} return $extensions;
} public static function assertDateTimeEquals(\DateTime
$expected, \DateTime
$actual) { self::
assertEquals($expected->
format('c'
),
$actual->
format('c'
));
} public static function assertDateIntervalEquals(\DateInterval
$expected, \DateInterval
$actual) {