Skip to content

Compono.CallVerifier

Compono

Compono

CallVerifier Struct

Performs terminal call-count assertions after any generated member and argument filtering has already been applied. Deliberately minimal - Never()/Once()/ Exactly(int) only, with no call-order verification, per ADR-0044 Requirement 3.

public readonly struct CallVerifier
Constructors
CallVerifier(int, string) Performs terminal call-count assertions after any generated member and argument filtering has already been applied. Deliberately minimal - Never()/Once()/ Exactly(int) only, with no call-order verification, per ADR-0044 Requirement 3.
Methods
AtLeast(int) Asserts the member was called at least times times.
AtMost(int) Asserts the member was called at most times times.
Exactly(int) Asserts the member was called exactly times times.
Never() Asserts the member was never called.
Once() Asserts the member was called exactly once.