@Test
public void testParseNodeShouldReturnNullConditionWhenConditionNodeArgumentHasNoChildren() {

    //GIVEN
    given(node.getChildNodes()).willReturn(nodeList);
    given(nodeList.getLength()).willReturn(0);
    //WHEN
    ConditionDescriptor actual = underTest.parseNode(node, document);
    //THEN
    assertNull(actual.getCondition());
}