object = new ToolBar("users/users_New.xml"); } /** * 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('ToolBar'); $this->assertTrue(count($methods) == 13); } }