@Test
public void inflate_componentWithEnumAttribute_attributeApplied() {

    Label htmlModeLabel = (Label) inflater
            .inflate(getXml("enum-label.xml"));
    // check width
    assertEquals(ContentMode.HTML, htmlModeLabel.getContentMode());
}