@ Then ( "^a Cassandra keyspace '(.+?)' contains a table '(.+?)'$" ) public void assertTableExistsOnCassandraKeyspace ( String keyspace , String tableName ) { assertThat ( commonspec . getCassandraClient ( ) . getTables ( keyspace ) ) . as ( "The table " + tableName + "exists on cassandra" ) . contains ( tableName ) ; }
Checks if a cassandra keyspace contains a table .