@Test
public void testCreateSequenceId() {

    //GIVEN
    String handlerKey = "Key";
    given(sequenceDescriptor.getGroupName()).willReturn("groupname");
    given(sequenceDescriptor.getName()).willReturn("name");
    given(sequenceDescriptorKeyUtil.createDescriptorKey("groupname", "name")).willReturn("groupname_name");
    Whitebox.setInternalState(underTest, "sequenceDescriptorKeyUtil", sequenceDescriptorKeyUtil);
    //WHEN
    String result = underTest.createSequenceId(handlerKey, sequenceDescriptor);
    //THEN
    Assert.assertEquals(result, "groupname_name|Key");
}