assertEquals($expected, $check->check()); } public function testCheckReportsNonWritablePaths() { $check = new FileWriteableCheck('/var'); $result = $check->check(); $this->assertEquals(EnvironmentCheck::ERROR, $result[0]); } }