@Test
public void testParseNodeShouldReturnWithNullConditionWhenConditionNodeArgumentHasOneChildWithUnknownTagName() {

    //GIVEN
    given(node.getChildNodes()).willReturn(nodeList);
    given(nodeList.getLength()).willReturn(1);
    given(nodeList.item(0)).willReturn(node);
    given(node.getNodeType()).willReturn(Node.ELEMENT_NODE);
    given(node.getTagName()).willReturn("UNKNOWN_TAG_NAME");
    //WHEN
    ConditionDescriptor actual = underTest.parseNode(node, document);
    //THEN
    assertNull(actual.getCondition());
}