示例#1
0
        public void GetStylistName_ReturnsStylistName_true()
        {
            //Arrange
            Stylist newStylist = new Stylist("Frankie");

            newStylist.Save();
            Client newClient = new Client("Frances", newStylist.GetId());

            newClient.Save();
            string expectedResult = newStylist.GetName();
            //Act
            string result = newClient.GetStylistName();

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