public void GetCommand_Invalid_Command_Throws(char command) { var commandsFactory = new RobotCommandsFactory(); Assert.Throws <ArgumentOutOfRangeException>(() => commandsFactory.GetCommand(command)); }
public void GetCommand_Should_Success(char command) { var commandsFactory = new RobotCommandsFactory(); Assert.NotNull(commandsFactory.GetCommand(command)); }