/', $result); foreach ($file as $i => $line) { $this->assertTrue(strpos($line, $result) !== 0, 'Content is missing ' . $i); $class = 'uncovered'; if ($coverage[$i + 1] > 0) { $class = 'covered'; } $this->assertTrue(strpos($class, $result) !== 0, 'Class name is wrong ' . $i); } } /** * teardown * * @return void */ function tearDown() { unset($this->Coverage); } }