assertThat(domains.getChoices().get(1), IsAssignableFrom.isAssignableFrom(TestDomainInterface.class));
}
@Test
public void testContextList_shouldBeLoaded() throws Exception {
CheckedTree globals = (CheckedTree) tester.getComponentFromLastRenderedPage("wiringForm:contextList");
TreeModel tree = globals.getModelObject();
assertThat(tree.getChildCount(tree.getRoot()), is(6));
assertThat(tree.getChild(tree.getRoot(), 0).toString(), is("bar"));
}