'input'); $fieldNode = new Xml_Node('testField', 'type', 'value', $attributes); $this->object = new XmlForm_Field_FastSearch($fieldNode); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } /** * This is the default method to test, if the class still having * the same number of methods. */ public function testNumberOfMethodsInThisClass() { $methods = get_class_methods('XmlForm_Field_FastSearch'); $this->assertTrue( count($methods) == 25); } }