public class TableAssert extends AbstractDbAssert<Table,TableAssert,TableColumnAssert,TableColumnValueAssert,TableRowAssert,TableRowValueAssert> implements AssertOnExistence<TableAssert>
Table
.actual
info, myself
Modifier and Type | Method and Description |
---|---|
TableAssert |
doesNotExist()
Verifies that the table doesn't exist.
|
TableAssert |
exists()
Verifies that the table exist.
|
column, column, column, hasNumberOfColumns, hasNumberOfColumnsGreaterThan, hasNumberOfColumnsGreaterThanOrEqualTo, hasNumberOfColumnsLessThan, hasNumberOfColumnsLessThanOrEqualTo, hasNumberOfRows, hasNumberOfRowsGreaterThan, hasNumberOfRowsGreaterThanOrEqualTo, hasNumberOfRowsLessThan, hasNumberOfRowsLessThanOrEqualTo, isEmpty, row, row
as, as, describedAs, describedAs, getInfo
public TableAssert exists()
Example where the assertion verifies that the table exists:
assertThat(table).exists();
exists
in interface AssertOnExistence<TableAssert>
this
assertion object.public TableAssert doesNotExist()
Example where the assertion verifies that the table doesn't exists:
assertThat(table).doesNotExists();
doesNotExist
in interface AssertOnExistence<TableAssert>
this
assertion object.Copyright © 2015–2019 AssertJ. All rights reserved.