// find addSeparator()
JavaInfo separator;
{
ContainerInfo toolbar = (ContainerInfo) panel.getChildrenWidgets().get(0);
WidgetInfo button = toolbar.getChildrenWidgets().get(0);
MenuInfo menu = button.getChildren(MenuInfo.class).get(0);
separator = menu.getChildrenJava().get(0);
}
// check properties
Property[] properties = separator.getProperties();
assertThat(properties).isEmpty();
}