public override void Execute(object parameter)
        {
            // legacy static class...
            var test = NewTestMethodCommand.NewExpectedErrorTestMethod(_vbe);

            if (test != null)
            {
                _model.Tests.Add(test);
            }
        }
 public override void Execute(object parameter)
 {
     _command.NewExpectedErrorTestMethod();
 }
 private void OnExplorerAddExpectedErrorTestMethodButtonClick(object sender, EventArgs e)
 {
     NewTestMethodCommand.NewExpectedErrorTestMethod(this.VBE);
     Synchronize();
 }