rename getDiff to getReason
[phpt.git] / tests / Case / FailureException / declares-abstract-getDiff.phpt
blob6a5fdb57a3c6382d1504966560109196f36bcb1c
1 --TEST--
2 PHPT_Case_FailureException declares a getReason() method as an abstract
3 --FILE--
4 <?php
6 require_once dirname(__FILE__) . '/../../_setup.inc';
8 $reflection = new ReflectionClass('PHPT_Case_FailureException');
9 assert('$reflection->hasMethod("getReason")');
10 assert('$reflection->getMethod("getReason")->isAbstract()');
13 ===DONE===
14 --EXPECT--
15 ===DONE===