r = RecursionHandler::getInstance(); } /** * Testing disallow, insert and remove methods. */ public function test_disallow() { $this->r->insert("page"); $this->assertTrue($this->r->disallow("page")); $this->assertFalse($this->r->disallow("anotherpage")); $this->r->remove("page"); $this->assertFalse($this->r->disallow("page")); } }