public void ProcessInputs_MultiplicationService_GetsCalled_Test()
        {
            // arrange
            // could go into setup, but not when you need to setup the mocked dependencies in any special way
            var sut = new CalculationService(_additionServiceMock.Object, _multiplicationServiceMock.Object);

            // act
            var result = sut.ProcessInput(_fixture.Create<Input>()); // not even interested in result!

            // assert
            _multiplicationServiceMock.Verify(m => m.Multiply(It.IsAny<IEnumerable<int>>()), Times.Once());
        }
        public void BusinessServiceTest()
        {
            // arrange
            CalculationService sut = null;

            // act
            // assert
            Assert.That(
                () => sut = new CalculationService(_additionServiceMock.Object, _multiplicationServiceMock.Object),
                Throws.Nothing);

            Assert.That(sut, Is.Not.Null);
        }
        public void ProcessInputs_MultiplicationService_GetsCalled_Test()
        {
            // arrange
            var input = new Input
            {
                Operands = new List<int> {1, 2, 3, 4, 5},
                AssertPresence = "Just not empty, but totally unrelated to test!",
                DontBeNull = new DontBeNull() // same here
            };

            // could go into setup, but not when you need to setup the mocked dependencies in any special way
            var sut = new CalculationService(_additionServiceMock.Object, _multiplicationServiceMock.Object);

            // act
            var result = sut.ProcessInput(input); // not even interested in result!

            // assert
            _multiplicationServiceMock.Verify(m => m.Multiply(It.IsAny<IEnumerable<int>>()), Times.Once());
        }