public void Handles_ReturnsTrue_ForDifferentCaseStopCommand() { var command = new DemoMarketEquityFileNetworkingCommand(this._appFactory); var result = command.Handles("StOp dEmO equity market file networking"); Assert.IsTrue(result); }
public void Handles_ReturnsTrue_ForCorrectStopCommand() { var command = new DemoMarketEquityFileNetworkingCommand(this._appFactory); var result = command.Handles("stop demo equity market file networking"); Assert.IsTrue(result); }
public void Handles_ReturnsTrue_ForDifferentCaseCorrectCommand() { var command = new DemoMarketEquityFileNetworkingCommand(this._appFactory); var result = command.Handles("RUN dEmO equity market file networking MarketDataEquity.csv"); Assert.IsTrue(result); }
public void Handles_ReturnsFalse_RandomCommand() { var command = new DemoMarketEquityFileNetworkingCommand(this._appFactory); var result = command.Handles("a random command"); Assert.IsFalse(result); }