@Test
  public void testLoadXML() throws Exception {
    final Node stepNode = mock(Node.class);
    final NodeList childrenStepNode = mock(NodeList.class);
    doReturn(0).when(childrenStepNode).getLength();
    doReturn(childrenStepNode).when(stepNode).getChildNodes();
    final List databases = mock(List.class);
    final IMetaStore metaStore = mock(IMetaStore.class);
    setSessionVariableMetaSpy.loadXML(stepNode, databases, metaStore);

    verify(setSessionVariableMetaSpy).allocate(anyInt());
  }