@Test
public void inflate_singleLayout_sizeFull() {

    Component layout = inflater.inflate(getXml("single-layout.xml"));
    assertEquals(100, layout.getWidth(), 0);
    assertEquals(100, layout.getHeight(), 0);
    assertEquals(Unit.PERCENTAGE, layout.getWidthUnits());
    assertEquals(Unit.PERCENTAGE, layout.getHeightUnits());
}