public void StartLogic_InputDataIsNull_ThrowsError() { // Act Action action = () => _target.ProcessLogic(null); // Assert action.Should().ThrowExactly <ArgumentNullException>(); }
/// <summary> /// Starts program after processing user input /// </summary> /// <param name="args"></param> public void StartProgram(string[] args) { UserInputData inputData = ProcessUserInput(args); _coreLogic.ProcessLogic(inputData); }