public class DoesNotHave<T> extends Negative<T>
true
if the condition is not satisfied.Modifier and Type | Method and Description |
---|---|
static <T> DoesNotHave<T> |
doesNotHave(Condition<? super T> condition)
Creates a new
. |
String |
toString() |
as, as, describedAs, describedAs, description
public static <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition)
DoesNotHave
.T
- the type of value the Condition
applies to.condition
- the condition to inverse.Copyright © 2014–2018 AssertJ. All rights reserved.