public void GetName_Should_Get_Pet_Name_Value()
        {
            testOrganicPet.SetName("Fido");

            string testPetName = testOrganicPet.GetName();

            Assert.Equal("Fido", testPetName);
        }
Beispiel #2
0
        public void SetName_Should_Assign_Pet_Name_Property()
        {
            testPet.SetName("Fluffy");

            Assert.Equal("Fluffy", testPet.GetName());
        }