Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
spectator
v0.10.5
Object
Proc
Process
Spectator
AbstractExpression
Anything
Block
CompositeNodeFilter
Config
Builder
CLIArgumentsApplicator
Context
ContextDelegate
ContextMethod
DSL
Builder
Concise
Examples
Expectations
Groups
Hooks
Matchers
Memoize
Metadata
Mocks
Top
ErrorResult
Example
Procsy
ExampleBuilder
ExampleContextDelegate
ExampleContextMethod
ExampleFailed
ExampleGroup
ExampleGroupBuilder
ExampleGroupHook
ExampleGroupIteration
ExampleHook
Proc
ExampleIterator
ExamplePending
ExampleProcsyHook
Expectation
Target
ExpectationFailed
Expression
FailResult
FilteredExampleIterator
Formatting
BroadcastFormatter
Components
Block
Comment
ErrorResultBlock
ExampleCommand
FailResultBlock
FailureCommandList
JUnit
Root
TestCase
TestSuite
Counts
PendingResultBlock
Profile
ResultBlock
Runtime
Stats
TAPProfile
Totals
DocumentFormatter
ExampleNotification
ExampleSummaryNotification
Formatter
HTMLFormatter
JSONFormatter
JUnitFormatter
MessageNotification
ProfileNotification
ProgressFormatter
StartNotification
Summary
SummaryNotification
TAPFormatter
Harness
Hooks
IterativeExampleGroupBuilder
Label
Lazy
LazyWrapper
LineNodeFilter
Location
LocationNodeFilter
Matchers
AllMatcher
ArrayMatcher
AttributesMatcher
CaseMatcher
ChangeExactMatcher
ChangeFromMatcher
ChangeMatcher
ChangeRelativeMatcher
ChangeToMatcher
CollectionMatcher
CompiledTypeMatcher
ContainMatcher
EmptyMatcher
EndWithMatcher
EqualityMatcher
ExceptionMatcher
FailedMatchData
GreaterThanEqualMatcher
GreaterThanMatcher
HaveKeyMatcher
HaveMatcher
HavePredicateMatcher
HaveValueMatcher
InequalityMatcher
InstanceMatcher
LessThanEqualMatcher
LessThanMatcher
MatchData
Matcher
NilMatcher
PatternMatcher
PredicateMatcher
RangeMatcher
ReceiveMatcher
Range
ReceiveTypeMatcher
Range
ReferenceMatcher
RegexMatcher
RespondMatcher
SizeMatcher
SizeOfMatcher
StandardMatcher
StartWithMatcher
SuccessfulMatchData
TruthyMatcher
TypeMatcher
UnorderedArrayMatcher
ValueMatcher
Metadata
Mocks
Allow
AllowAnyInstance
AnonymousDouble
AnonymousNullDouble
Arguments
Double
ExceptionMethodStub
ExpectAnyInstance
GenericArguments
GenericMethodStub
MethodCall
MethodStub
MultiValueMethodStub
NilMethodStub
NoArguments
OriginalMethodStub
ProcMethodStub
Reflection
Registry
Key
Stubs
TypeRegistry
Key
UnexpectedMessageError
ValueMethodStub
VerifyingDouble
MultipleExpectationsFailed
NameNodeFilter
Node
NodeBuilder
NodeFilter
NodeIterator
NullContext
NullNodeFilter
PassResult
PendingExampleBuilder
PendingResult
Profile
Report
Counts
Result
RunFlags
Runner
RunnerEvents
Spec
SpecBuilder
SystemExit
TagNodeFilter
Tags
Value
Wrapper
SpectatorContext
SpectatorTestContext
Built with Crystal 1.9.2
2023-10-08 04:14:12 UTC
class
Spectator::Mocks::MethodCall
Spectator::Mocks::MethodCall
Reference
Object
Defined in:
spectator/mocks/method_call.cr
Constructors
.new
(name : Symbol, args : Arguments)
Instance Method Summary
#args
: Arguments
#name
: Symbol
#to_s
(io)
Instance methods inherited from class
Object
should(matcher, message =
nil
)
should
,
should_eventually(matcher, message =
nil
)
should_eventually
,
should_never(matcher, message =
nil
)
should_never
,
should_not(matcher, message =
nil
)
should_not
Constructor Detail
def self.
new
(name : Symbol, args :
Arguments
)
#
[
View source
]
Instance Method Detail
def
args
:
Arguments
#
[
View source
]
def
name
: Symbol
#
[
View source
]
def
to_s
(io)
#
[
View source
]