Top Description Fields Constructors Methods
org.assertj.core.condition

public Class DoesNotHave<T>

extends Negative<T>
Class Inheritance
Imports
org.assertj.core.api.Condition

Returns true if the condition is not satisfied.
Authors
Nicolas François, Joel Costigliola, Mikhail Mazursky

Field Summary

Inherited from org.assertj.core.condition.Negative:
condition

Constructor Summary

AccessConstructor and Description
private
DoesNotHave(Condition<? super T> condition)

Method Summary

Modifier and TypeMethod and Description
public static <
the type of value the Condition applies to.
T
>
DoesNotHave<T>

Returns:

The Not condition created.
doesNotHave
(Condition<? super T>
the condition to inverse.
condition
)

Creates a new DoesNotHave.

Inherited from org.assertj.core.condition.Negative:
matches

Constructor Detail

DoesNotHaveback to summary
private DoesNotHave(Condition<? super T> condition)

Method Detail

doesNotHaveback to summary
public static <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition)

Creates a new DoesNotHave.

Parameters
<T>
the type of value the Condition applies to.
condition:Condition<? super T>

the condition to inverse.

Returns:DoesNotHave<T>

The Not condition created.