public void ValidInsurances() { var employees = EmployeesPermiumStub.Employees(); var result = Insurance.InvalidInsurances(employees); Assert.IsTrue(result.Count == 0); }
public void InvalidInsurances() { var employees = EmployeesPermiumStub.InvalidInsurance(); var result = Insurance.InvalidInsurances(employees); Assert.AreEqual(0, result.ElementAt(0).InsuranceCompanyId); }
public void EmployeesPermium() { var employees = EmployeesPermiumStub.Employees(); var result = Insurance.EmployeesPermium(employees); Assert.IsTrue(result.Count == 2); }
public void NoPermiumForEmployeeFound() { var employee = EmployeesPermiumStub.NoPermiumEmployee(); var result = Insurance.PermiumPicker(employee); Assert.AreEqual(0, result); }
public void FirstPermiumEqualsSecondPermiumThenThirdPermium() { var employee = EmployeesPermiumStub.EmployeeWithEqualFirstAndSecondPermium(); var result = Insurance.PermiumPicker(employee); Assert.AreEqual(300, result); }
public void FirstPermiumGreaterThanSecondPermium() { var employee = EmployeesPermiumStub.EmployeeWithGreaterFirstPermium(); var result = Insurance.PermiumPicker(employee); Assert.AreEqual(10, result); }
public void OnlyThirdPermium() { var employee = EmployeesPermiumStub.EmployeeWithThirdPermium(); var result = Insurance.PermiumPicker(employee); Assert.AreEqual(10, result); }
public void NoInsuredEmployeesFound() { var employees = EmployeesPermiumStub.NoInsuredEmployees(); var result = Insurance.EmployeesPermium(employees); }