@ Then ( "^a Mongo dataBase '(.+?)' contains a table '(.+?)' with values:" ) public void assertValuesOfTableMongo ( String dataBase , String tableName , DataTable data ) { commonspec . getMongoDBClient ( ) . connectToMongoDBDataBase ( dataBase ) ; ArrayList < DBObject > result = ( ArrayList < DBObject > ) commonspec . getMongoDBClient ( ) . readFromMongoDBCollection ( tableName , data ) ; DBObjectsAssert . assertThat ( result ) . containedInMongoDBResult ( data ) ; }
Checks the values of a MongoDB table .