@Test
public void shouldReturnFixMessageWithPipeSeparatorWithDuplicateKeys() throws Exception
{

    final Multimap<Integer, String> multimap = ArrayListMultimap.create();
    multimap.put(1, "firstKey");
    multimap.put(2, "secondKey");
    multimap.put(2, "anotherSecondKey");
    multimap.put(3, "thirdKey");
    final FixMessage fixMessage = new FixMessage(multimap);
    final String expectedString = "1=firstKey" + PIPE_CHAR + "2=secondKey" + PIPE_CHAR + "2=anotherSecondKey" + PIPE_CHAR + "3=thirdKey" + PIPE_CHAR;
    Assert.assertThat(fixMessage.toHumanString(), is(expectedString));
}