Module org.easymock

Class Range

java.lang.Object
org.easymock.internal.Range
All Implemented Interfaces:
Serializable

public class Range extends Object implements Serializable
The range of a number of invocations. It knows the expected minimum and maximum number of invocations.
Author:
OFFIS, Tammo Freese
See Also:
  • Constructor Details

    • Range

      public Range(int count)
    • Range

      public Range(int minimum, int maximum)
  • Method Details

    • hasFixedCount

      public boolean hasFixedCount()
    • getMaximum

      public int getMaximum()
    • getMinimum

      public int getMinimum()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • expectedCount

      public String expectedCount()
    • contains

      public boolean contains(int count)
    • hasOpenCount

      public boolean hasOpenCount()