org.spockframework.mock
Class TooFewInvocationsError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.AssertionError
              extended by org.spockframework.runtime.SpockAssertionError
                  extended by org.spockframework.mock.InteractionNotSatisfiedError
                      extended by org.spockframework.mock.TooFewInvocationsError
All Implemented Interfaces:
java.io.Serializable

public class TooFewInvocationsError
extends InteractionNotSatisfiedError

Indicates that one or more required interactions have matched too few invocations.

Author:
Peter Niederwieser
See Also:
Serialized Form

Constructor Summary
TooFewInvocationsError(java.util.List<IMockInteraction> interactions)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class org.spockframework.runtime.SpockAssertionError
toString
 
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
 

Constructor Detail

TooFewInvocationsError

public TooFewInvocationsError(java.util.List<IMockInteraction> interactions)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2013. All rights reserved