@Test
public void testAddAllColumns() {

    ColumnStore<Node> columnStore = generateEmptyNodeStore();
    IndexImpl<Node> index = columnStore.indexStore.mainIndex;
    ColumnImpl col1 = new ColumnImpl("1", String.class, "1", null, Origin.DATA, true, false);
    ColumnImpl col2 = new ColumnImpl("2", String.class, "2", null, Origin.DATA, false, false);
    ColumnImpl col3 = new ColumnImpl("3", String.class, "3", null, Origin.DATA, true, false);
    col1.setStoreId(0);
    col2.setStoreId(1);
    col3.setStoreId(2);
    index.addAllColumns(new ColumnImpl[] { col1, col2, col3 });
    Assert.assertEquals(index.size(), 2);
}