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.- Author:
- Nicolas François, Joel Costigliola, Mikhail Mazursky
-
Nested Class Summary
Nested classes/interfaces inherited from class org.assertj.core.api.Condition
Condition.Status
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> DoesNotHave<T>
doesNotHave
(Condition<? super T> condition) Creates a new
.DoesNotHave
Methods inherited from class org.assertj.core.api.Condition
conditionDescriptionWithStatus, describedAs, description, status, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Method Details
-
doesNotHave
Creates a new
.DoesNotHave
- Type Parameters:
T
- the type of value theCondition
applies to.- Parameters:
condition
- the condition to inverse.- Returns:
- The Not condition created.
-