T
- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details.public interface AssertOnRowOfChangeExistence<T extends AssertOnRowOfChangeExistence<T>> extends AssertOnExistence<T>
Modifier and Type | Method and Description |
---|---|
T |
doesNotExist()
Verifies that the row of the change does not exist.
|
T |
exists()
Verifies that the row of the change exists.
|
T exists()
Example where the assertion verifies that the row at end point of the first change are equal exists :
assertThat(changes).change().rowAtEndPoint().exists();
exists
in interface AssertOnExistence<T extends AssertOnRowOfChangeExistence<T>>
this
assertion object.AssertionError
- If the row of the change does not exist.ChangeRowAssert.exists()
T doesNotExist()
Example where the assertion verifies that the row at end point of the first change are equal does not exist :
assertThat(changes).change().rowAtEndPoint().doesNotExist();
doesNotExist
in interface AssertOnExistence<T extends AssertOnRowOfChangeExistence<T>>
this
assertion object.AssertionError
- If the row of the change exists.ChangeRowAssert.doesNotExist()
Copyright © 2020 AssertJ. All rights reserved.