public function testResetTimeLimit() { $this->object->setTimeLimits('-1 min', '-1 min'); $o = $this->object->getOptions(); $this->assertArrayHasKey('LastUpdatedAfter', $o); $this->assertArrayHasKey('LastUpdatedBefore', $o); $this->object->resetTimeLimits(); $check = $this->object->getOptions(); $this->assertArrayNotHasKey('LastUpdatedAfter', $check); $this->assertArrayNotHasKey('LastUpdatedBefore', $check); }