public void Should_ExecutePrintResultMethodWithArgument5OfOutputService_WhenDoing7Substract2()
        {
            //arrange
            var clientMock = new Mock<IOutputService>();
            var calculator = new CalculatorEngine(clientMock.Object);
            calculator.FirstArg = 7;
            calculator.SecondArg = 2;
            string expected = "5,00000";

            //act
            calculator.Substract();

            //Assert
            clientMock.Verify(x => x.PrintData(expected), Times.Exactly(1));
        }
        public void Should_Return2_WhenDoing5Point1Substract3Point1()
        {
            //arrange
            var clientMock = new Mock<IOutputService>();
            var calculator = new CalculatorEngine(clientMock.Object);
            calculator.FirstArg = 5.1;
            calculator.SecondArg = 3.1;
            string expected = "2,00000";

            //act
            calculator.Substract();

            //asssert
            Assert.AreEqual(calculator.Result, expected);
        }