public void Add_New_Note_To_Repair()
        {
            var repairContextMock = new Mock <DB.Interface.IDatabaseService>();

            repairContextMock.Setup(x => x.Repairs).Returns(repairsMock.Object);
            repairContextMock.Setup(x => x.Cars).Returns(carsMock.Object);
            repairContextMock.Setup(x => x.RepairNotes).Returns(emptyRepairNotesMock.Object);

            RepairService repairService = new RepairService(repairContextMock.Object);

            repairService.AddNote(new BL.Repair.DTO.RepairDTO
            {
                Id    = 1,
                Notes = new List <RepairNoteDTO> {
                    new RepairNoteDTO {
                        Description = "Uzyto oleju 5W40 Valvoline"
                    }
                },
                Date = DateTime.Parse("10.08.2018 15:53:00")
            });
            try
            {
                emptyRepairNotesMock.Verify(m => m.Add(It.IsAny <RepairNotes>()), Times.AtLeastOnce());
                repairContextMock.Verify(m => m.Save(), Times.AtLeastOnce());
                Assert.IsTrue(true);
            }
            catch (Exception e)
            {
                Assert.IsTrue(false);
            }
        }