Package org.assertj.db.api.assertions
Interface AssertOnModifiedColumn<T extends AssertOnModifiedColumn<T>>
- Type Parameters:
T
- The "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
- All Known Implementing Classes:
ChangeColumnAssert
public interface AssertOnModifiedColumn<T extends AssertOnModifiedColumn<T>>
Defines the assertion methods on a modified column.
- Author:
- Régis Pouiller
-
Method Summary
Modifier and TypeMethodDescriptionVerifies that the column is modified between the start point and the end point.Verifies that the column is not modified between the start point and the end point.
-
Method Details
-
isModified
T isModified()Verifies that the column is modified between the start point and the end point.Example where the assertion verifies that :
assertThat(changes).change(1).column().isModified();
- Returns:
this
assertion object.- Throws:
AssertionError
- If the column is not modified between the start point and the end point.- See Also:
-
isNotModified
T isNotModified()Verifies that the column is not modified between the start point and the end point.Example where the assertion verifies that :
assertThat(changes).change(1).column().isNotModified();
- Returns:
this
assertion object.- Throws:
AssertionError
- If the column is modified between the start point and the end point.- See Also:
-