Beispiel #1
0
        public void Claims_ElevatorMessage_ShouldSucceed()
        {
            //Arrange
            var claims = new Claims(504, "Amy Pond", 21, "You have a meeting today.");

            //Act
            var expected = "Good morning, Amy Pond. You have 21 claims to review today.";
            var actual   = $"Good morning, {claims.EmployeeName}. You have {claims.ClaimsToDo} claims to review today.";

            Console.WriteLine(claims.Elevator());

            //Assert
            Assert.AreEqual(expected, actual);
        }