@Test
public void inflate_componentHasWidth_widthAttributeApplied() {

    Component layout = inflater.inflate(getXml("component-width.xml"));
    // check width
    Button button200px = (Button) Clara.findComponentById(layout,
            "button200px");
    assertEquals(200.0f, button200px.getWidth(), 0.0f);
}