@Test
public void testParseShouldReturnEmptyListWhenNoSequenceDescriptorExists() {

    //GIVEN
    given(rootElement.getElementsByTagName(SEQUENCE_DESCRIPTOR_TAG_NAME)).willReturn(nodeList);
    given(nodeList.getLength()).willReturn(0);
    //WHEN
    List<SequenceDescriptor> result = underTest.parse(document, rootElement, dialogDescriptors);
    //THEN
    assertTrue(result.isEmpty());
}