@Test
public void resolveSpacingBeforeIs12() throws IOException {

    parent.addChild(second);
    first.getCSS().put("margin-bottom", "2em");
    first.getCSS().put(CSS.Property.FONT_SIZE, "2em");
    first.getCSS().put(CSS.Property.FONT_SIZE, fst.translateFontSize(first) + "pt");
    second.getCSS().put("margin-top", "60pt");
    applier.apply(firstPara, first, configuration);
    applier.apply(secondPara, second, configuration);
    assertEquals(60 - (2 * 12 * 2), secondPara.getSpacingBefore(), 0);
}