Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
spectator
master
Object
Proc
Spectator
Anything
CommandLineArgumentsConfigSource
CompositeExampleFilter
Config
ConfigBuilder
ConfigSource
DSL
ErroredResult
Example
ExampleComponent
ExampleConditions
ExampleFailed
ExampleFilter
ExampleGroup
ExampleHooks
ExampleIterator
ExpectationFailed
Expectations
ExampleExpectations
Expectation
ExpectationPartial
ExpectationReporter
FailedResult
FinishedResult
Formatting
Color
DocumentFormatter
DotsFormatter
Formatter
JsonFormatter
JUnitFormatter
SilentFormatter
SuiteSummary
TAPFormatter
Harness
LabeledValue
LineExampleFilter
Matchers
AllMatcher
ArrayMatcher
AttributesMatcher
CaseMatcher
ChangeExactMatcher
ChangeFromMatcher
ChangeMatcher
ChangeRelativeMatcher
ChangeToMatcher
CollectionMatcher
ContainMatcher
EmptyMatcher
EndWithMatcher
EqualityMatcher
ExceptionMatcher
FailedMatchData
GreaterThanEqualMatcher
GreaterThanMatcher
HaveKeyMatcher
HaveMatcher
HavePredicateMatcher
HaveValueMatcher
InequalityMatcher
InstanceMatcher
LessThanEqualMatcher
LessThanMatcher
MatchData
Matcher
NilMatcher
PredicateMatcher
RangeMatcher
ReceiveMatcher
Range
ReceiveTypeMatcher
Range
ReferenceMatcher
RespondMatcher
SizeMatcher
SizeOfMatcher
StandardMatcher
StartWithMatcher
SuccessfulMatchData
TruthyMatcher
TypeMatcher
UnorderedArrayMatcher
ValueMatcher
Mocks
Allow
AllowAnyInstance
AnonymousDouble
AnonymousNullDouble
Arguments
Double
ExceptionMethodStub
ExpectAnyInstance
GenericArguments
GenericMethodStub
MethodCall
MethodStub
MultiValueMethodStub
NilMethodStub
OriginalMethodStub
ProcMethodStub
Reflection
Registry
Key
Stubs
TypeRegistry
Key
UnexpectedMessageError
ValueMethodStub
VerifyingDouble
NameExampleFilter
NestedExampleGroup
NullExampleFilter
PendingExample
PendingResult
Profile
Report
Result
RootExampleGroup
RunnableExample
Runner
Source
SourceExampleFilter
SpecBuilder
ExampleBuilder
FactoryMethod
ExampleGroupBuilder
Child
ExampleGroupStack
NestedExampleGroupBuilder
PendingExampleBuilder
RootExampleGroupBuilder
RunnableExampleBuilder
SampleExampleGroupBuilder
SuccessfulResult
TestBlock
TestContext
TestExpression
TestMetaMethod
TestMethod
TestSuite
TestValue
TestValues
TestWrapper
TypedValueWrapper
ValueWrapper
SpectatorTest
Built with Crystal 1.10.0
2023-12-04 15:08:28 UTC
class
Spectator::
Mocks::
AnonymousDouble(T)
Spectator::Mocks::AnonymousDouble(T)
Reference
Object
Defined in:
spectator/mocks/anonymous_double.cr
Constructors
.new
(name : String, values : T)
Instance Method Summary
#as_null_object
Macro Summary
method_missing
(call)
Instance methods inherited from class
Object
should(matcher)
should
,
should_eventually(matcher)
should_eventually
,
should_never(matcher)
should_never
,
should_not(matcher)
should_not
Constructor Detail
def self.
new
(name : String, values : T)
#
[
View source
]
Instance Method Detail
def
as_null_object
#
[
View source
]
Macro Detail
macro
method_missing
(call)
#
[
View source
]