assertTrue( in_array( 'XmlForm_Field_ToolBar', $methods ), 'seems like this function is outside this class' ); } } /** * @covers XmlForm_Field_ToolBar::render * @todo Implement testrender(). */ public function testrender() { if (class_exists('XmlForm_Field_ToolBar')) { $methods = get_class_methods( 'XmlForm_Field_ToolBar'); $this->assertTrue( in_array( 'render', $methods ), 'seems like this function is outside this class' ); } } }