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>>
Returns
true
if the condition is not satisfied.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> DoesNotHave<T>
doesNotHave
(Condition<? super T> condition) Creates a newDoesNotHave
.toString()
Methods inherited from class org.assertj.core.api.Condition
as, as, describedAs, describedAs, description
-
Constructor Details
-
DoesNotHave
-
-
Method Details
-
doesNotHave
Creates a newDoesNotHave
.- Parameters:
condition
- the condition to inverse.- Returns:
- The Not condition created.
-
toString
-