Package org.fest.assertions.condition
Class DoesNotHave<T>
- java.lang.Object
-
- org.fest.assertions.core.Condition<T>
-
- org.fest.assertions.condition.Negative<T>
-
- org.fest.assertions.condition.DoesNotHave<T>
-
- All Implemented Interfaces:
Descriptable<Condition<T>>
public class DoesNotHave<T> extends Negative<T>
Returnstrue
if the condition is not satisfied.- Author:
- Nicolas François, Joel Costigliola, Mikhail Mazursky
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> DoesNotHave<T>
doesNotHave(Condition<? super T> condition)
Creates a newDoesNotHave
.java.lang.String
toString()
-
Methods inherited from class org.fest.assertions.core.Condition
as, as, describedAs, describedAs, description
-
-
-
-
Method Detail
-
doesNotHave
public static <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition)
Creates a newDoesNotHave
.- Parameters:
condition
- the condition to inverse.- Returns:
- The Not condition created.
-
-