@Test
public void testMatchSequenceKeyWithDescriptorShouldReturnWithTheSearchedSequence() {

    //GIVEN
    String descriptorName = "test";
    given(manager.getSequences(descriptorName)).willReturn(sequences);
    given(sequenceKeyResolver.getHandlerKey(Mockito.anyString())).willReturn("").willReturn(keys[1]);
    //WHEN
    WilmaSequence result = underTest.matchSequenceKeyWithDescriptor(descriptorName, keys);
    //THEN
    Assert.assertNotNull(result);
}