first commit

This commit is contained in:
Zeeshaun
2026-03-11 11:18:25 -05:00
commit f3cb730f3b
472 changed files with 53651 additions and 0 deletions
@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using Landmark.OLA.Models.Individuals;
using Landmark.OLA.Models.Individuals.Enums;
namespace Landmark.OLA.Tests.TestData
{
public class TestEmployers
{
private static Employer GetValidEmployer()
{
return new Employer
{
Name = "Test Employer",
Title = "QA",
WorkPhone = "9992245555",
Income = TestIncomes.GetValidEmploymentIncome(),
CurrentEmployer = false,
EmploymentType = EmploymentTypeOption.PartTime,
StartDate = new DateTime(2017, 10, 1),
};
}
public static IEnumerable<Object[]> GetValidTestEmployers()
{
yield return new Object[] { GetValidEmployer() };
}
public static IEnumerable<Object[]> GetInvalidTestEmployers()
{
var missingName = GetValidEmployer();
missingName.Name = null;
yield return new Object[] { missingName };
var invalidEmployerName = GetValidEmployer();
invalidEmployerName.Name+=".";
yield return new Object[] { invalidEmployerName };
}
}
}