static::
assertNull($interval->
getReturn());
} public function testDecodeMethodWithCorrectValueWillReturnCronInterval(): void
{ $cronInterval =
$this->intervalFieldSerializer->
decode( new CronIntervalField('name', 'name'
),
self::COMPLEX_CRON
);
static::
assertEquals(new CronInterval(self::COMPLEX_CRON
),
$cronInterval);
} public function testDecodeMethodWithNoValueWillReturnNull(): void
{ $cronInterval =
$this->intervalFieldSerializer->
decode( new CronIntervalField('name', 'name'
),
null
);
static::
assertNull($cronInterval);
}