protected function tearDown(): void
{ putenv($this->colSize ? 'COLUMNS='.
$this->colSize : 'COLUMNS'
);
} /** @dataProvider getDescribeDefaultsTestData */
public function testDescribeDefaults($object, array
$options,
$fixtureName) { $describedObject =
$this->
getObjectDescription($object,
$options);
$expectedDescription =
$this->
getExpectedDescription($fixtureName);
if ('json' ===
$this->
getFormat()) { $this->
assertEquals(json_encode(json_decode($expectedDescription), \JSON_PRETTY_PRINT
),
json_encode(json_decode($describedObject), \JSON_PRETTY_PRINT
));
} else { $this->
assertEquals(trim($expectedDescription),
trim(str_replace(\PHP_EOL, "\n",
$describedObject)));
} } /** @dataProvider getDescribeResolvedFormTypeTestData */
public function testDescribeResolvedFormType(ResolvedFormTypeInterface
$type, array
$options,
$fixtureName) {