/** * Test the enable/disable of throttling */ public function testEnableDisableThrottle() { Gatekeeper::disableThrottle(); $this->assertFalse(Gatekeeper::throttleStatus()); Gatekeeper::enableThrottle(); $this->assertTrue(Gatekeeper::throttleStatus()); }