public void EngineReady_Accepts_Dash_Should_Become_ParsingAnArg() { // Init var initialState = new EngineReady(); // Action var nextState = initialState.accept("-"); // Assertion Assert.IsType <ParsingAnArg>(nextState); }
public void EngineReady_Accepts_Space_Should_Become_EngineReady() { // Init var initialState = new EngineReady(); // Action var nextState = initialState.accept(" "); // Assertion Assert.IsType <EngineReady>(nextState); }