lithium\tests\cases\test\UnitTest::testRun PHP Метод

testRun() публичный Метод

public testRun ( )
    public function testRun()
    {
        $file = realpath(LITHIUM_LIBRARY_PATH) . '/lithium/tests/mocks/test/MockUnitTest.php';
        $expected = array('result' => 'pass', 'class' => 'lithium\\tests\\mocks\\test\\MockUnitTest', 'method' => 'testNothing', 'message' => "expected: true\nresult: true\n", 'data' => array('expected' => true, 'result' => true), 'file' => realpath($file), 'line' => 14, 'assertion' => 'assertTrue');
        $result = $this->test->run();
        $this->assertEqual($expected, $result[0]);
    }
UnitTest