@Test
public void resolveSpacingBeforeIs0() throws IOException {

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