Пример #1
0
        public void StartLogic_InputDataIsNull_ThrowsError()
        {
            // Act
            Action action = () => _target.ProcessLogic(null);

            // Assert
            action.Should().ThrowExactly <ArgumentNullException>();
        }
Пример #2
0
        /// <summary>
        /// Starts program after processing user input
        /// </summary>
        /// <param name="args"></param>
        public void StartProgram(string[] args)
        {
            UserInputData inputData = ProcessUserInput(args);

            _coreLogic.ProcessLogic(inputData);
        }