@Test
public void testParseNodeWhenThereIsNoParameter() {

    //GIVEN
    given(nodes.getLength()).willReturn(0);
    given(element.getAttribute("name")).willReturn(SEQUENCE_DESCRIPTOR_NAME);
    given(element.getAttribute("class")).willReturn(SEQUENCE_HANDLER_CLASS_NAME);
    given(element.getAttribute("timeout")).willReturn("");
    given(stubConfigurationAccess.getProperties()).willReturn(value);
    given(value.getDefaultSequenceTimeout()).willReturn(9000L);
    DummySequenceHandler dummySequenceHandler = new DummySequenceHandler();
    given(sequenceHandlerInitializer.getExternalClassObject(SEQUENCE_HANDLER_CLASS_NAME)).willReturn(dummySequenceHandler);
    //WHEN
    SequenceDescriptorAttributes result = underTest.parseNode(element, document);
    //THEN
    assertEquals(SEQUENCE_DESCRIPTOR_NAME, result.getName());
    assertEquals(9000L, result.getDefaultTimeout());
    assertEquals(GROUP_NAME, result.getGroupName());
    assertEquals(dummySequenceHandler, result.getHandler());
}