assertTrue($result); } } public function testSetTimezoneWithInvalidValue() { $unsupportedTimezone = 'Etc/GMT+10'; $result = call_user_func([TimeZone::class, 'setTimezone'], $unsupportedTimezone); $this->assertFalse($result); } }