@Test
public void inflate_panel() {

    Panel panel = (Panel) inflater.inflate(getXml("panel.xml"));
    // check Panel content
    assertEquals(1, panel.getComponentCount());
    assertEquals(Button.class, panel.getContent().getClass());
}