mocked.mocker

Undocumented in source.

Members

Aliases

Mocker
alias Mocker = Factory!(Options!())

Mocker instance with default options.

Classes

Builder
class Builder(T)

Mock builder used by the mocks and stubs.

Mocked
class Mocked(T)

Mock builder.

Stubbed
class Stubbed(T)

Stub builder.

Functions

configure
auto configure()

Constructs a mocker with options passed as Args.

Interfaces

Verifiable
interface Verifiable

Used to save heterogeneous repositories in a single container and verify their expectations at the end.

Mixin templates

Call
mixintemplate Call(alias F)

$(D_PSYMBOL Call) represents a single call of a mocked method.

Structs

Factory
struct Factory(Options)

A class through which one creates mock objects and manages expectations about calls to their methods.

MockCall
struct MockCall(alias F)
StubCall
struct StubCall(alias F)

$(D_PSYMBOL Call) represents a single call of a mocked method.

Meta