Package | Description |
---|---|
org.spockframework.mock |
Modifier and Type | Class and Description |
---|---|
class |
DefaultEqualsInteraction |
class |
DefaultHashCodeInteraction |
class |
DefaultInteraction |
class |
DefaultStubbedInteraction |
class |
DefaultToStringInteraction |
class |
MockInteraction
An anticipated interaction between the SUT and one or more mock objects.
|
class |
MockInteractionDecorator |
Modifier and Type | Field and Description |
---|---|
protected IMockInteraction |
MockInteractionDecorator.decorated |
Modifier and Type | Method and Description |
---|---|
IMockInteraction |
InteractionBuilder.build() |
IMockInteraction |
WrongInvocationOrderError.getInteraction() |
IMockInteraction |
TooManyInvocationsError.getInteraction() |
IMockInteraction |
InteractionScope.match(IMockInvocation invocation) |
IMockInteraction |
IInteractionScope.match(IMockInvocation invocation) |
IMockInteraction |
DefaultInteractionScope.match(IMockInvocation invocation) |
Modifier and Type | Method and Description |
---|---|
void |
MockController.addInteraction(IMockInteraction interaction) |
void |
InteractionScope.addInteraction(IMockInteraction interaction) |
void |
IInteractionScope.addInteraction(IMockInteraction interaction) |
void |
DefaultInteractionScope.addInteraction(IMockInteraction interaction) |
Constructor and Description |
---|
MockInteractionDecorator(IMockInteraction decorated) |
TooManyInvocationsError(IMockInteraction interaction,
IMockInvocation lastInvocation) |
WrongInvocationOrderError(IMockInteraction interaction,
IMockInvocation lastInvocation) |
Constructor and Description |
---|
TooFewInvocationsError(java.util.List<IMockInteraction> interactions) |
Copyright © 2012. All rights reserved