public function testLimitByIP() { $dl2 = new downloader(); $this->assertTrue($dl2->limitByIP(array('213.5.71.85', '213.5.71.86'))); $this->assertFalse($dl2->areErrors()); }