@DisposeProjectAfter
public void test_ClientBundle_reloadCreate() throws Exception {
prepare_ClientBundle_reloadCreate();
// parse
dontUseSharedGWTState();
WidgetInfo panel =
parse(
"// filler filler filler filler filler",
"// filler filler filler filler filler",
"<ui:UiBinder>",
" <ui:with field='resources' type='test.client.MyResources'/>",
" <g:FlowPanel styleName='{resources.style.one}'/>",
"</ui:UiBinder>");
refresh();
//
Property styleProperty = panel.getPropertyByTitle("styleName");
Property colorProperty = PropertyUtils.getByPath(styleProperty, "color");
// initial state
assertEquals("red", getPropertyText(colorProperty));
assertEquals("red", getComputedStyleAttribute(panel, "color"));
// set new value