Assert.assertEquals(0, reorderLayer.getColumnIndexByPosition(0));
Assert.assertEquals(1, reorderLayer.getColumnIndexByPosition(1));
Assert.assertEquals(3, reorderLayer.getColumnIndexByPosition(2));
Assert.assertEquals(2, reorderLayer.getColumnIndexByPosition(3));
Assert.assertTrue(listener
.containsInstanceOf(ColumnStructuralRefreshEvent.class));
}
@Test
public void skipLoadingStateIfPersistedStateDoesNotMatchDataSource()