public void WhenIType(string keyPressed) { var calculator = ScenarioContext.Current.Get <Application>("subject"); var entryHelper = new WhiteEntryHelper(calculator); entryHelper.PressKey(keyPressed); }
public void WhenIPushTheButton(string buttonValue) { var calculator = ScenarioContext.Current.Get <Application>("subject"); var entryHelper = new WhiteEntryHelper(calculator); entryHelper.PushButton(buttonValue); }