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>>
Returns
true if the condition is not satisfied.-
Nested Class Summary
Nested classes/interfaces inherited from class Condition
Condition.Status -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition) Creates a new.DoesNotHaveMethods inherited from class Condition
conditionDescriptionWithStatus, describedAs, description, status, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
DoesNotHave
-
-
Method Details
-
doesNotHave
Creates a new.DoesNotHave- Type Parameters:
T- the type of value theConditionapplies to.- Parameters:
condition- the condition to inverse.- Returns:
- The Not condition created.
-