@Test
@SuppressWarnings("all")
public void add() {

    Cursor cursor = r.db(RDBURIReferences.DATABASE_NAME).table(RDBURIReferences.TABLE_NAME).run(connection);
    while (cursor.hasNext()) {
        HashMap row = (HashMap) cursor.next();
        List<String> listInDB = ((ArrayList<String>) row.get(RDBURIReferences.COLUMN_FOUNDURIS));
        if (row.get(RDBURIReferences.COLUMN_URI).equals(mainURI1))
            assertEquals("Prove for the first index (" + row.get(RDBURIReferences.COLUMN_URI) + ") the founded URI list. Should have a size of 2 because of the update. Current list: " + listInDB.toArray(), 2, listInDB.size());
        else if (row.get(RDBURIReferences.COLUMN_URI).equals(mainURI2))
            assertEquals("Prove for the second index (" + row.get(RDBURIReferences.COLUMN_URI) + ") the founded URI list. Should have a size of 1 because of no update. Current list: " + listInDB.toArray(), 1, listInDB.size());
    }
}