Extends
lithium\test\Unit
Tests that the range of executable lines of this test method is properly calculated.
Recursively meta.
Returns
voidSource
public function testMethodRange() {
$result = Inspector::methods(__CLASS__, 'ranges', array('methods' => __FUNCTION__));
$expected = array(__FUNCTION__ => array(__LINE__ - 1, __LINE__, __LINE__ + 1));
$this->assertEqual($expected, $result);
}