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:
Loretta 2026-02-23 16:10:28 +01:00
parent 22bda45ade
commit 623a01e3e3
1 changed files with 10 additions and 0 deletions

View File

@ -86,6 +86,7 @@ public class FullProcessModel
{ {
public List<Shipping> Shippings { get; set; } public List<Shipping> Shippings { get; set; }
public List<OrderDto> Orders { get; set; } public List<OrderDto> Orders { get; set; }
public List<StockTaking> StockTakings { get; set; }
} }
[TestClass] [TestClass]
@ -141,6 +142,15 @@ public sealed class ToonTests
// Data from separate API calls typically don't share object instances. // 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] [TestMethod]
public void ReferenceHandling_WithSharedReferences_ShouldOutputRefMarkers() public void ReferenceHandling_WithSharedReferences_ShouldOutputRefMarkers()
{ {