public function testIssue75() { $pug = new Pug(array('cache' => false)); $requirements = $pug->requirements(); $this->assertTrue($requirements['cacheFolderExists']); $this->assertTrue($requirements['cacheFolderIsWritable']); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionCode 19 */ public function testRequirementThatDoesNotExist() { $pug = new Pug(); $pug->requirements('requirementThatDoesNotExist'); }