return [ ['01D85PP1982GF6KTVFHQ7W78FB',
new Ulid('01d85pp1982gf6ktvfhq7w78fb'
)],
];
} /**
* @dataProvider provideValidUlid
*/
public function testTransform($output,
$input) { $transformer =
new UlidToStringTransformer();
$input =
new Ulid($input);
$this->
assertEquals($output,
$transformer->
transform($input));
} public function testTransformEmpty() { $transformer =
new UlidToStringTransformer();
$this->
assertNull($transformer->
transform(null
));
}