mocked v0.2.1 (2020-06-17T08:59:38Z)
Dub
Repo
Mocked
mocked
builder
Undocumented in source.
final
class
Mocked :
Verifiable
(
T
) {
T
mock
;
Repository
!
T
*
repository
;
this
(T mock, Repository!T repository);
Repository
!
T
expect
();
T
get
();
void
verify
();
static if
(
is(T == class)
)
size_t
toHash
();
static if
(
is(T == class)
)
string
toString
();
static if
(
is(T == class)
)
int
opCmp
(Object o);
static if
(
is(T == class)
)
bool
opEquals
(Object o);
}
Constructors
this
this
(T mock, Repository!T repository)
Undocumented in source.
Alias This
get
Members
Functions
expect
Repository
!
T
expect
()
Undocumented in source. Be warned that the author may not have intended to support it.
get
T
get
()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int
opCmp
(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool
opEquals
(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t
toHash
()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
verify
void
verify
()
Verifies that certain expectation requirements were satisfied.
Variables
mock
T
mock
;
Undocumented in source.
repository
Repository
!
T
*
repository
;
Undocumented in source.
Inherited Members
From Verifiable
verify
void
verify
()
Undocumented in source.
Meta
Source
See Implementation
mocked
builder
classes
Mocked
interfaces
Verifiable
structs
Call
ExpectationSetup
Overload
Repository