2 getReason(), by default, is a raw version of the message
6 require_once dirname(__FILE__) . '/../../_setup.inc';
7 require_once dirname(__FILE__) . '/../../Section/_simple-test-case.inc';
9 $some_random_reason = 'some random reason' . rand(100, 200);
11 $failure = new PHPT_Case_FailureException(new PHPT_SimpleTestCase(), $some_random_reason);
12 assert('$failure->getReason() == $some_random_reason');