/** * @dataProvider dataProviderForTestIsLocationOpen2 */ public function testIsLocationOpen_working_hours_empty($expected, $date) { $location = new Paysera_WalletApi_Entity_Location(); //working days not defined at all: $location->setWorkingHours(array()); //any day, any time: $this->assertEquals($expected, $this->service->isLocationOpen($location, $date)); }