org.spockframework.mock
Class TooManyInvocationsError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.spockframework.runtime.SpockAssertionError
org.spockframework.mock.InteractionNotSatisfiedError
org.spockframework.mock.TooManyInvocationsError
- All Implemented Interfaces:
- java.io.Serializable
public class TooManyInvocationsError
- extends InteractionNotSatisfiedError
Indicates that a required interaction has matched too many invocations.
- Author:
- Peter Niederwieser
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TooManyInvocationsError
public TooManyInvocationsError(IMockInteraction interaction,
IMockInvocation lastInvocation)
getInteraction
public IMockInteraction getInteraction()
getLastInvocation
public IMockInvocation getLastInvocation()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Copyright © 2013. All rights reserved