Add StockTakings to FullProcessModel and new meta test
Added List<StockTaking> StockTakings to FullProcessModel. Introduced GetMetaInfos test in ToonTests to serialize and output FullProcessModel type metadata for inspection.
This commit is contained in:
parent
22bda45ade
commit
623a01e3e3
|
|
@ -86,6 +86,7 @@ public class FullProcessModel
|
|||
{
|
||||
public List<Shipping> Shippings { get; set; }
|
||||
public List<OrderDto> Orders { get; set; }
|
||||
public List<StockTaking> StockTakings { get; set; }
|
||||
}
|
||||
|
||||
[TestClass]
|
||||
|
|
@ -141,6 +142,15 @@ public sealed class ToonTests
|
|||
// Data from separate API calls typically don't share object instances.
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void GetMetaInfos()
|
||||
{
|
||||
var a = new FullProcessModel();
|
||||
var toon = AcToonSerializer.SerializeTypeMetadata<FullProcessModel>(FruitBankConstClient.DomainDescription);
|
||||
Console.WriteLine(toon);
|
||||
}
|
||||
|
||||
|
||||
[TestMethod]
|
||||
public void ReferenceHandling_WithSharedReferences_ShouldOutputRefMarkers()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue