protected function setUp(): void
{ parent::
setUp();
$this->normalizer =
new TimestampItemNormalizer();
} /**
* @covers ::supportsNormalization
*/
public function testSupportsNormalization() { $timestamp_item =
$this->
createTimestampItemProphecy();
$this->
assertTrue($this->normalizer->
supportsNormalization($timestamp_item->
reveal()));
$entity_ref_item =
$this->
prophesize(EntityReferenceItem::
class);
$this->
assertFalse($this->normalizer->
supportsNormalization($entity_ref_item->
reveal()));
} /**
* @covers ::supportsDenormalization
*/
public function testSupportsDenormalization() { $timestamp_item =
$this->
createTimestampItemProphecy();