Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mocks
v0.4.2
Top Level Namespace
Mocks
Allow
BaseDouble
BaseMock
HaveReceivedExpectation
Message
Receive
Registry
Args
ArgsInterface
CallHash
Method
NoArgs
ObjectId
Result
ResultInterface
ResultWrapper
StubKey
UnexpectedMethodCall
Built with Crystal 1.9.2
2023-10-08 04:08:07 UTC
class
Mocks::Receive(T)
Mocks::Receive(T)
Reference
Object
Defined in:
mocks/receive.cr
Constructors
.new
(method_name : String, args : T)
Instance Method Summary
#and_return
(value)
#args
#method_name
Constructor Detail
def self.
new
(method_name : String, args : T)
#
[
View source
]
Instance Method Detail
def
and_return
(value)
#
[
View source
]
def
args
#
[
View source
]
def
method_name
#
[
View source
]