ParaTest\Logging\JUnit\ReaderTest::testMixedSuiteConstructsTestCases PHP Method

testMixedSuiteConstructsTestCases() public method

    public function testMixedSuiteConstructsTestCases($suite)
    {
        $this->assertEquals(3, sizeof($suite->cases));
        $first = $suite->cases[0];
        $this->assertEquals('testTruth', $first->name);
        $this->assertEquals('UnitTestWithClassAnnotationTest', $first->class);
        $this->assertEquals('/home/brian/Projects/parallel-phpunit/test/fixtures/tests/UnitTestWithClassAnnotationTest.php', $first->file);
        $this->assertEquals('10', $first->line);
        $this->assertEquals('1', $first->assertions);
        $this->assertEquals('0.001760', $first->time);
    }