29 lines
704 B
C#
29 lines
704 B
C#
using System;
|
|
using Xunit;
|
|
using CRIF.ACTion.Loan;
|
|
|
|
namespace CRIF.ACTion.Tests.Loan
|
|
{
|
|
public class OrgSectionTest
|
|
{
|
|
private static Guid TestGuid => new("a333a064-be7b-4d20-841f-9c3c306866b3");
|
|
|
|
[Fact]
|
|
public void SetOrgId()
|
|
{
|
|
var section = new OrgSection("", TestCommon.GetTestSettings());
|
|
|
|
section.SetOrgId(TestGuid);
|
|
|
|
var orgElement = section.Build();
|
|
|
|
var result = TestCommon.Compare(orgElement,
|
|
"ExampleXML" + System.IO.Path.DirectorySeparatorChar + "OrgSection"
|
|
+ System.IO.Path.DirectorySeparatorChar + "SetOrgId.xml");
|
|
|
|
Assert.Empty(result);
|
|
|
|
}
|
|
}
|
|
}
|