public void Wizard_SideBarButtonClick () { PokerWizard wizard = new PokerWizard (); wizard.SideBarButtonClick += new WizardNavigationEventHandler (wizard_handler); wizard.DoOnSideBarButtonClick (new WizardNavigationEventArgs (0, 1)); eventassert ("SideBarButtonClick"); }