public void Find_FindSpecialtyInDatabase_Specialties() { //Arrange Specialties testSpecialty = new Specialties("testName"); testSpecialty.Save(); List <Specialties> testList = new List <Specialties> { testSpecialty }; //Act Specialties resultById = Specialties.FindById(testSpecialty.GetId()); List <Specialties> resultByName = Specialties.FindByName(testSpecialty.GetSpecialties()); //Assert Assert.AreEqual(testSpecialty, resultById); CollectionAssert.AreEqual(testList, resultByName); }