@Test
public void testFailedPatternMatchAtEndOfBuffer() throws Exception {

    decoder = new FIXMessageDecoder("UTF-16");
    setUpBuffer("8=FIX.4.2\0019=12\00135=X\001108=30\0011wmyadz");
    MessageDecoderResult decoderResult = decoder.decode(null, buffer, decoderOutput);
    //assertEquals("wrong decoder result", MessageDecoderResult.NOT_OK, decoderResult);
    assertEquals("wrong decoder result", MessageDecoderResult.NEED_DATA, decoderResult);
}