first commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user