public void Update_NotExistingObject_False()
        {
            // Arrange
            var logic   = new DiseaseLogic(new DiseaseRepo(new MemoryDiseaseContext()));
            var disease = GenerateValidDisease();

            // Act
            var isAccepted = logic.Update(disease);

            // Assert
            Assert.False(isAccepted);
        }
        public void Update_ExistingObject_True()
        {
            // Arrange
            var logic          = new DiseaseLogic(new DiseaseRepo(new MemoryDiseaseContext()));
            var disease        = GenerateValidDisease();
            var updatedDisease = disease;

            disease.Name = "UpdatedName";

            // Act
            logic.Insert(disease);
            var isAccepted = logic.Update(updatedDisease);

            // Assert
            Assert.True(isAccepted);
        }