public void TestLinkPersonCompany1() { Person p = new Person { Name = "Hey OK", }; Company c = new Company { Name = "My Co" }; var r = api.LinkPersonCompany1(Tuple.Create(p, c)); Assert.Equal("Hey OK", r.Name); }
public void TestLinkPersonCompany1() { Person p = new Person { Name = "Hey OK", }; Company c = new Company { Name = "My Co", FoundDate = DateTime.Now, RegisterDate = new DateOnly(2020, 12, 23), }; var r = api.LinkPersonCompany1(Tuple.Create(p, c)); Assert.Equal("Hey OK", r.Name); }