예제 #1
0
        public void ReceptionistBeenPaid()
        {
            Receptionist receptionist = new Receptionist();

            receptionist.PaySalary();
            Assert.True(receptionist.EmpBeenPaid);
        }
        public void Can_Pay_Receptionist()
        {
            Receptionist receptionist = new Receptionist(3, "Amber Lake", false, false);

            receptionist.PaySalary();

            Assert.True(receptionist.IsPaid);
        }
예제 #3
0
        public void PaySalary_Changes_To_True()
        {
            //Arrange
            Receptionist firstReceptionist = new Receptionist(1, "Rachael");

            //Act
            firstReceptionist.PaySalary();

            //Assert
            Assert.True(firstReceptionist.HasBeenPaid);
        }