    @Test
    public void deserializeGeneric() throws Exception {

        ArrayList<ContentValues> highlightsReturn = Highlight.deserializeToContentValues(serialized1,pagId,0);

        ArrayList<ContentValues> highlightsGiven = new ArrayList<>();

        ContentValues contentValues = new ContentValues();
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_NAME_PAGE_ID, pagId.pageId);
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_NAME_HIGHLIGHT_ID,2);
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_CLASS_NAME,"highlight3");
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_CONTAINER_ELEMENT_ID, 0);
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_TEXT, "dcdcdc ");
        highlightsGiven.add(contentValues);

        contentValues = new ContentValues();
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_NAME_PAGE_ID, pagId.pageId);
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_NAME_HIGHLIGHT_ID,4);
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_CLASS_NAME,"highlight1");
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_CONTAINER_ELEMENT_ID, 0);
        contentValues.put(UserDataDBContract.HighlightEntry.COLUMN_TEXT, "cdcdc ");
        highlightsGiven.add(contentValues);




        assertEquals(highlightsGiven.size(), highlightsReturn.size());


    }