@Test
public void testParseNodeShouldReturnWithACompositeConditionWhenConditionNodeArgumentHasOneChildWithNotTagName() {

    //GIVEN
    given(node.getChildNodes()).willReturn(nodeList);
    given(nodeList.getLength()).willReturn(1);
    given(nodeList.item(0)).willReturn(paramElement);
    given(paramElement.getNodeType()).willReturn(Node.ELEMENT_NODE);
    given(paramElement.getTagName()).willReturn(TAGNAME_NOT);
    given(paramElement.getChildNodes()).willReturn(new MyNodeList(new ArrayList<Node>()));
    //WHEN
    ConditionDescriptor actual = underTest.parseNode(node, document);
    //THEN
    CompositeCondition actCondition = (CompositeCondition) actual.getCondition();
    Assert.assertEquals(actCondition.getConditionType(), ConditionType.NOT);
}