ExpectationViolationException

Expected the method to be called n times, but called m times, where m < n. Same as unexpected call, but with expected arguments instead of the actual ones. Thrown if a method was expected to be called, but wasn't.

Constructors

this
this(string name, string[] arguments, string file, size_t line, Throwable nextInChain)

Constructs an $(D_PSYMBOL ExpectationViolationException).

Meta