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::Allow(T)
Mocks::Allow(T)
Reference
Object
Defined in:
mocks/allow.cr
Constructors
.new
(subject : T)
Class Method Summary
.with_stubs
(subject, stubs)
Instance Method Summary
#subject
#to
(message)
Constructor Detail
def self.
new
(subject : T)
#
[
View source
]
Class Method Detail
def self.
with_stubs
(subject, stubs)
#
[
View source
]
Instance Method Detail
def
subject
#
[
View source
]
def
to
(message)
#
[
View source
]