mocked.error

Undocumented in source.

Members

Aliases

ExpectationPair
alias ExpectationPair = Tuple!(string, "actual", string, "expected")

Pair containing the expected argument and the argument from the actual call.

Classes

ExpectationViolationException
class ExpectationViolationException

Thrown if a method was expected to be called, but wasn't.

UnexpectedArgumentError
class UnexpectedArgumentError

Error thrown when a method has been called with arguments that don't match the expected ones.

UnexpectedCallError
class UnexpectedCallError

Thrown when an unexpected call occurs.

Functions

expectationViolationException
ExpectationViolationException expectationViolationException(string name, MaybeArgs arguments, string file, size_t line, Throwable nextInChain)
Undocumented in source. Be warned that the author may not have intended to support it.
unexpectedArgumentError
UnexpectedArgumentError unexpectedArgumentError(string name, Args arguments, string file, size_t line, Throwable nextInChain)

Constructs an $(D_PSYMBOL UnexpectedArgumentError).

unexpectedCallError
UnexpectedCallError unexpectedCallError(string name, Args arguments, string file, size_t line, Throwable nextInChain)

Constructs an $(D_PSYMBOL UnexpectedCallError).

Meta