protected function print_test_fail(TestResult $result)
 {
     $case_name = $result->get_testcase();
     $running_time = $this->format_time($result->get_running_time());
     $exception = $result->get_exception();
     $line = $result->get_error_line();
     echo "\n[" . self::RED_TEXT . self::FAIL . self::WHITE_TEXT . "] [{$running_time} ms] [{$case_name}] " . self::RED_TEXT . "{$result->get_name()}" . self::WHITE_TEXT . " line {$result->get_error_line()}\n\n";
     echo $exception->getMessage() . "\n";
     echo $exception->getTraceAsString() . "\n\n";
 }
 function test_running_time()
 {
     $test_result = new TestResult("test name");
     $test_result->set_running_time(0.2316759);
     $this->assert_equals(0.2316759, $test_result->get_running_time());
 }