@Test public void testCreateDescriptorKey() { String testGroupName = "TestTeam"; String testDescriptorName = "TestDescriptor"; String result = underTest.createDescriptorKey(testGroupName, testDescriptorName); Assert.assertEquals(result, testGroupName + SequenceConstants.DESCRIPTOR_KEY_PART_SEPARATOR.getConstant() + testDescriptorName); }
public String createDescriptorKey(final String groupname, final String descriptorName) { StringBuilder sb = new StringBuilder(); sb.append(groupname).append(SequenceConstants.DESCRIPTOR_KEY_PART_SEPARATOR.getConstant()).append(descriptorName); return sb.toString(); }
SequenceDescriptorKeyUtil { public String createDescriptorKey(final String groupname, final String descriptorName) { StringBuilder sb = new StringBuilder(); sb.append(groupname).append(SequenceConstants.DESCRIPTOR_KEY_PART_SEPARATOR.getConstant()).append(descriptorName); return sb.toString(); } }
SequenceDescriptorKeyUtil { public String createDescriptorKey(final String groupname, final String descriptorName) { StringBuilder sb = new StringBuilder(); sb.append(groupname).append(SequenceConstants.DESCRIPTOR_KEY_PART_SEPARATOR.getConstant()).append(descriptorName); return sb.toString(); }  }
SequenceDescriptorKeyUtil { public String createDescriptorKey(final String groupname, final String descriptorName) { StringBuilder sb = new StringBuilder(); sb.append(groupname).append(SequenceConstants.DESCRIPTOR_KEY_PART_SEPARATOR.getConstant()).append(descriptorName); return sb.toString(); }  String createDescriptorKey(final String groupname, final String descriptorName); }
SequenceDescriptorKeyUtil { public String createDescriptorKey(final String groupname, final String descriptorName) { StringBuilder sb = new StringBuilder(); sb.append(groupname).append(SequenceConstants.DESCRIPTOR_KEY_PART_SEPARATOR.getConstant()).append(descriptorName); return sb.toString(); }  String createDescriptorKey(final String groupname, final String descriptorName);  }