function testSetType() { $set = new lmbFullPageCacheRuleset(); $this->assertTrue($set->isAllow()); $this->assertFalse($set->isDeny()); $set->setType(false); $this->assertFalse($set->isAllow()); $this->assertTrue($set->isDeny()); }