building-block-inventory/tests/BuildingBlock.Inventory.Contracts.UnitTests/ContractShapeTests.cs
José René White Enciso b0cddfe442 feat(stage3): scaffold task-001 baseline
- WHY: establish Stage 3 task-001 execution baseline per repo intent
- WHAT: add minimal solution/project skeleton and boundary docs
- RULE: apply stage3 execution runtime and repository workflow directives
2026-02-22 01:30:02 -06:00

25 lines
683 B
C#

using BuildingBlock.Inventory.Contracts.Requests;
using BuildingBlock.Inventory.Contracts.Responses;
namespace BuildingBlock.Inventory.Contracts.UnitTests;
public class ContractShapeTests
{
[Fact]
public void InventoryItemLookupRequest_WhenCreated_StoresItemCode()
{
var request = new InventoryItemLookupRequest("SKU-001");
Assert.Equal("SKU-001", request.ItemCode);
}
[Fact]
public void InventoryItemLookupResponse_WhenCreated_StoresContractData()
{
var response = new InventoryItemLookupResponse("SKU-001", 5);
Assert.Equal("SKU-001", response.ItemCode);
Assert.Equal(5, response.QuantityAvailable);
}
}