Actually exercise the terminal guards

Testkamo-shared-library
Ya
26 Agosti 2026, 19:25 UTC
Mwandishi
Kamo
Ahadi ya
31a7608

The test that shipped with them asserted only that an ACCEPTED quote reports itself terminal — true before the guards existed and still true if both were deleted. D4's fix had zero coverage. cancel() and revise() guard after requireQuote, so reaching them needs a repository; a Proxy returning one quote is cheaper than stubbing an interface that size, and throwing on any other method means a future change that reaches a second repository fails by name rather than by NPE. Verified by removing the cancel guard and watching this fail.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei