Package | Description |
---|---|
org.spockframework.lang | |
org.spockframework.mock |
Spock's built-in mocking framework.
|
org.spockframework.mock.constraint | |
org.spockframework.mock.response | |
org.spockframework.mock.runtime | |
org.spockframework.runtime |
Class and Description |
---|
IMockController |
MockImplementation
Determines how method calls are processed and matched against interactions.
|
MockNature
A named set of defaults for a mock's configuration options.
|
Class and Description |
---|
CallRealMethodResponse
A response strategy that delegates method calls to the real object underlying the mock (if any).
|
DefaultEqualsHashCodeToStringInteractions |
EmptyOrDummyResponse
A response strategy that returns zero, an "empty" object, or a "dummy" object,
depending on the method's declared return type.
|
IDefaultResponse
A strategy for responding to unexpected method calls.
|
IInteractionScope
An interaction scope holds a group of interactions that will be verified,
and thereafter removed, at the same time.
|
IMockConfiguration
Configuration options for mock objects.
|
IMockInteraction
An anticipated interaction between the SUT and one or more mock objects.
|
IMockInvocation
A method invocation on a mock object.
|
IMockMethod
Represents a method that can be mocked.
|
IMockObject |
InteractionNotSatisfiedError
Base class for exceptions thrown to indicate that one or more interactions
were not satisfied.
|
IResponseGenerator
Generates responses to mock invocations.
|
MockImplementation
Determines how method calls are processed and matched against interactions.
|
MockNature
A named set of defaults for a mock's configuration options.
|
ZeroOrNullResponse
A response strategy that returns zero, false, or null, depending on the method's return type.
|
Class and Description |
---|
IArgumentConstraint
A constraint on an invocation argument.
|
IInteractionAware |
IInvocationConstraint |
IMockInteraction
An anticipated interaction between the SUT and one or more mock objects.
|
IMockInvocation
A method invocation on a mock object.
|
Class and Description |
---|
IChainableResponseGenerator
Generates return values for invocations on mock objects.
|
IMockInvocation
A method invocation on a mock object.
|
IResponseGenerator
Generates responses to mock invocations.
|
Class and Description |
---|
CannotCreateMockException
Thrown to indicate a problem when creating a mock object.
|
IDefaultResponse
A strategy for responding to unexpected method calls.
|
IInteractionScope
An interaction scope holds a group of interactions that will be verified,
and thereafter removed, at the same time.
|
IInvocationConstraint |
IMockConfiguration
Configuration options for mock objects.
|
IMockController |
IMockFactory |
IMockInteraction
An anticipated interaction between the SUT and one or more mock objects.
|
IMockInvocation
A method invocation on a mock object.
|
IMockMethod
Represents a method that can be mocked.
|
IMockObject |
IResponseGenerator
Generates responses to mock invocations.
|
MockImplementation
Determines how method calls are processed and matched against interactions.
|
MockNature
A named set of defaults for a mock's configuration options.
|
Class and Description |
---|
IMockController |
Copyright © 2017. All rights reserved