Exemple #1
0
        public void WholeMonth()
        {
            // Arrange

            _respository.GetBudget().Returns(dBugets);

            _bugetService = new BugetService(_respository);

            var expected = 10;

            var startDateTime = new DateTime(2018, 6, 1);
            var endDateTime   = new DateTime(2018, 6, 1);

            // Act
            var actual = _bugetService.GetBuget(startDateTime, endDateTime);

            // Assert
            Assert.AreEqual(expected, actual);
        }