@Test
public void resolveSpacingBeforeIs5() throws IOException {

    parent.addChild(second);
    first.getCSS().put("margin-bottom", "25pt");
    second.getCSS().put("margin-top", "30pt");
    applier.apply(firstPara, first, configuration);
    applier.apply(secondPara, second, configuration);
    assertEquals(30 - 25, secondPara.getSpacingBefore(), 0);
}