Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mocks
v0.9.6
Mocks
Allow
BaseDouble
BaseMock
HaveReceivedExpectation
Macro
GlobalDSL
Message
Receive
Registry
CallHash
CallHashKey
LastArgsKey
Method
ObjectId
Result
ResultInterface
ResultWrapper
RegistryInstances
UnexpectedMethodCall
Built with Crystal 1.9.2
2023-10-08 11:52:24 UTC
class
Mocks::HaveReceivedExpectation(T)
Mocks::HaveReceivedExpectation(T)
Reference
Object
Defined in:
mocks/have_received_expectation.cr
Constructors
.new
(receive : Receive(T))
Instance Method Summary
#expected
#expected_args
#failure_message
(target)
#match
(target)
#negative_failure_message
(target)
Constructor Detail
def self.
new
(receive :
Receive
(T))
#
[
View source
]
Instance Method Detail
def
expected
#
[
View source
]
def
expected_args
#
[
View source
]
def
failure_message
(target)
#
[
View source
]
def
match
(target)
#
[
View source
]
def
negative_failure_message
(target)
#
[
View source
]