@Test public void whenInputIsInvalid_OutputErrorOutput() { _outputMock.setValidationResult(false); _gameStep.onInput(""); _gameStep.onInput("Faulty Input"); assertEquals("ErrorOutput", _textCommandHandler.getLastOutput()); }
@Test public void transformsOutput() { _outputMock.setAppendInputToOutputWhenTransforming(); _gameStep.onInput("TestInput"); assertEquals("TestOutput TestInput", _textCommandHandler.getLastOutput()); }