public function testParsedClassHasCorrectNumberOfTestMethods() { $class = $this->parseFile($this->fixture('failing-tests/UnitTestWithClassAnnotationTest.php')); $this->assertEquals(4, sizeof($class->getMethods())); }