for (TableItem item : checkViewer.getTable().getItems()) {
page.setSelection(new StructuredSelection(item.getData()));
IDetailsPage details = block.getDetailsPart().getCurrentPage();
assertTrue("Could not load details part.", details instanceof NamespacesDetailsPart);
NamespacesDetailsPart detailsPart = (NamespacesDetailsPart) details;
ColumnViewer versionViewer = detailsPart.getVersionViewer();
assertEquals(item.getChecked(), versionViewer.getControl().getEnabled());
}
}