" Button button = new Button();",
" add(button, new FitData(1, 2, 3, 4));",
" }",
" }",
"}");
container.refresh();
WidgetInfo button = container.getWidgets().get(0);
FitDataInfo fitData = FitLayoutInfo.getFitData(button);
// check margins
assertSame(Property.UNKNOWN_VALUE, fitData.getPropertyByTitle("margin-all").getValue());
assertEquals(1, fitData.getPropertyByTitle("margin-top").getValue());