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 Xunit;
using CRIF.ACTion.Common;
using CRIF.ACTion.Loan.Individuals;
using Landmark.OLA.Models.Addresses.Enums;
using Landmark.OLA.Models.Residences;
namespace CRIF.ACTion.Tests.Loan.Individuals
{
public class AddressesSectionTest
{
public ResidenceAddress ValidAddress = new(new Guid("a333a064-be7b-4d20-841f-9c3c306866b3"))
{
Address1 = "123 Main St",
City = "New Berlin",
State = StateOption.WI,
Country = CountryOption.UnitedStates,
PostalCode = "53151",
MonthsResided = 12,
ResidenceType = ResidenceTypeOption.Own,
};
[Fact]
public void AddAddress()
{
var section = new AddressesSection("", TestCommon.GetTestSettings());
section.AddAddress(ValidAddress, ContactMechanisms.CrifContactMechanism.CurrentAddress);
var addressElement = section.Build();
var result = TestCommon.Compare(addressElement,
"ExampleXML" + System.IO.Path.DirectorySeparatorChar + "AddressesSection"
+ System.IO.Path.DirectorySeparatorChar + "AddAddress.xml");
Assert.Empty(result);
}
}
}