Package org.spockframework.mock
Class TooFewInvocationsError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- org.spockframework.runtime.SpockAssertionError
-
- org.spockframework.mock.InteractionNotSatisfiedError
-
- org.spockframework.mock.TooFewInvocationsError
-
- All Implemented Interfaces:
java.io.Serializable
public class TooFewInvocationsError extends InteractionNotSatisfiedError
Thrown to indicate that one or more mandatory interactions matched too few invocations.- Author:
- Peter Niederwieser
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooFewInvocationsError(java.util.List<IMockInteraction> interactions, java.util.List<IMockInvocation> unmatchedInvocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
-
Methods inherited from class org.spockframework.runtime.SpockAssertionError
toString
-
-
-
-
Constructor Detail
-
TooFewInvocationsError
public TooFewInvocationsError(java.util.List<IMockInteraction> interactions, java.util.List<IMockInvocation> unmatchedInvocations)
-
-