Refactor CompletedOrder_TotalIsCorrect to express intent with IsFullyPaid()

This commit is contained in:
2026-10-01 11:38:06 +01:00
parent 9f7d4e6a4f
commit 98f649f46b
2 changed files with 4 additions and 1 deletions
@@ -12,6 +12,6 @@ public class OrderCompletionTests
order.AddLine(100m, 1);
order.Complete();
Assert.That(order.Total, Is.EqualTo(100m));
Assert.That(order.IsFullyPaid(100m), Is.True);
}
}