public void Test_DatabaseEmptyAtFirst()
        {
            //Arrange, Act
            int result = Parasite.GetAll().Count;

            //Assert
            Assert.Equal(0, result);
        }
        public void Test_Save_AssignsIdToObject()
        {
            //Arrange
            Parasite testParasite = new Parasite("Hamurai");

            //Act
            testParasite.Save();
            Parasite savedParasite = Parasite.GetAll()[0];

            int result = savedParasite.GetId();
            int testId = testParasite.GetId();

            //Assert
            Assert.Equal(testId, result);
        }
        public void Test_Save_SavesToDatabase()
        {
            // Arrange
            Parasite testParasite = new Parasite("Sleepy Gary");

            // Act
            testParasite.Save();
            List <Parasite> result   = Parasite.GetAll();
            List <Parasite> testList = new List <Parasite> {
                testParasite
            };

            // Assert
            Assert.Equal(testList, result);
        }