assertTrue( in_array( 'XMLResult', $methods ), 'seems like this function is outside this class' ); } } /** * @covers XMLResult::numRows * @todo Implement testnumRows(). */ public function testnumRows() { if (class_exists('XMLResult')) { $methods = get_class_methods( 'XMLResult'); $this->assertTrue( in_array( 'numRows', $methods ), 'seems like this function is outside this class' ); } } /** * @covers XMLResult::fetchRow * @todo Implement testfetchRow(). */ public function testfetchRow() { if (class_exists('XMLResult')) { $methods = get_class_methods( 'XMLResult'); $this->assertTrue( in_array( 'fetchRow', $methods ), 'seems like this function is outside this class' ); } } /** * @covers XMLResult::getNames * @todo Implement testgetNames(). */ public function testgetNames() { if (class_exists('XMLResult')) { $methods = get_class_methods( 'XMLResult'); $this->assertTrue( in_array( 'getNames', $methods ), 'seems like this function is outside this class' ); } } }