public void CalculateSalariesOwed_CalculateSalaris_SuccessfulCalculation() { // Arrange int employeeSalary = 5; int expectedAmountOwed = 15; var player = new PlayerModel() { Dollars = 20 }; var employeeList = new List <EmployeeModel>() { new EmployeeModel("Kitchen Trainee") { Salary = employeeSalary }, new EmployeeModel("Marketing Trainee") { Salary = employeeSalary }, new EmployeeModel("Management Trainee") { Salary = employeeSalary } }; player.Employees = employeeList; // Act int amountOwed = player.CalculateSalariesOwed(); // Assert Assert.AreEqual(3, player.Employees.Count); Assert.AreEqual(expectedAmountOwed, amountOwed); Assert.AreEqual(5, player.Dollars - amountOwed); }