@ Then ( "^a Cassandra keyspace '(.+?)' exists$" ) public void assertKeyspaceOnCassandraExists ( String keyspace ) { assertThat ( commonspec . getCassandraClient ( ) . getKeyspaces ( ) ) . as ( "The keyspace " + keyspace + " exists on cassandra" ) . contains ( keyspace ) ; }
Checks if a keyspaces exists in Cassandra .