public function testBackwardsCompatibleException()
{
$business = new Business([new Day(Days::MONDAY, [['09:00', '13:00'], ['14:00', '17:00']]), new SpecialDay(Days::FRIDAY, function (\DateTime $date) {
return [['10:00', '13:00'], ['14:00', '17:00']];
})], new \stdClass());
}