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>
Returns true
if the condition is not satisfied.
- Author:
- Nicolas François, Joel Costigliola, Mikhail Mazursky
doesNotHave
public static <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition)
- Creates a new
DoesNotHave
.
- Parameters:
condition
- the condition to inverse.
- Returns:
- The Not condition created.
toString
public String toString()
- Overrides:
toString
in class Condition<T>
Copyright © 2013–2015 AssertJ. All rights reserved.