org.fest.assertions
Class Threshold

java.lang.Object
  extended by org.fest.assertions.Threshold

public final class Threshold
extends Object

Understands a threshold.

Since:
1.1
Author:
Alex Ruiz

Method Summary
static Threshold threshold(int value)
          Creates a new Threshold.
 int value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

threshold

public static Threshold threshold(int value)
Creates a new Threshold.

Parameters:
value - the value of the threshold.
Returns:
the created instance.
Throws:
IllegalArgumentException - if the given value is less than zero.

value

public int value()


Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.