@Test
public void testFinalCommentWithoutTrailingNewline() throws Exception {

    final SessionSettings settings = setUpSession("label=no trailing newline\n# a comment without trailing newline");
    final SessionID sessionID2 = new SessionID("FIX.4.2", "TW", "CLIENT2");
    assertEquals("no trailing newline", settings.getString(sessionID2, "label"));
}