org.fest.assertions.condition
Class Negative<T>
java.lang.Object
org.fest.assertions.core.Condition<T>
org.fest.assertions.condition.Negative<T>
- All Implemented Interfaces:
- Descriptable<Condition<T>>
- Direct Known Subclasses:
- DoesNotHave, Not
public abstract class Negative<T>
- extends Condition<T>
Inverse the condition.
- Author:
- Nicolas François
Method Summary |
boolean |
matches(T value)
Verifies that the given value satisfies this condition. |
Negative
protected Negative(Condition<T> condition)
matches
public boolean matches(T value)
- Description copied from class:
Condition
- Verifies that the given value satisfies this condition.
- Specified by:
matches
in class Condition<T>
- Parameters:
value
- the value to verify.
- Returns:
true
if the given value satisfies this condition; false
otherwise.
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.