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