Package org.assertj.core.condition
Class DoesNotHave<T>
- java.lang.Object
-
- org.assertj.core.api.Condition<T>
-
- org.assertj.core.condition.Negative<T>
-
- org.assertj.core.condition.DoesNotHave<T>
-
- All Implemented Interfaces:
Descriptable<Condition<T>>
public class DoesNotHave<T> extends Negative<T>
Returnstrueif the condition is not satisfied.- Author:
- Nicolas François, Joel Costigliola, Mikhail Mazursky
-
-
Constructor Summary
Constructors Modifier Constructor Description privateDoesNotHave(Condition<? super T> condition)
-
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 new.DoesNotHaveStringtoString()-
Methods inherited from class org.assertj.core.api.Condition
as, as, describedAs, describedAs, description
-
-
-
-
Method Detail
-
doesNotHave
public static <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition)
Creates a new.DoesNotHave- Type Parameters:
T- the type of value theConditionapplies to.- Parameters:
condition- the condition to inverse.- Returns:
- The Not condition created.
-
-