@Test
public void inflate_simpleMargin_layoutMarginTrue() {

    Component layout = inflater.inflate(getXml("simple-margin.xml"));
    // check margin="true"
    assertEquals(new MarginInfo(true),
            ((VerticalLayout) layout).getMargin());
}