@Test public void shouldOnlyReturnPossDupAtLength() { buffer.putBytes(0, FIRST_MESSAGE); buffer.putBytes(FIRST_MESSAGE.length, SECOND_MESSAGE); parser.onMessage(buffer, 0, FIRST_MESSAGE.length); assertEquals(PossDupFinder.NO_ENTRY, possDupFinder.possDupOffset()); }
int possDupOffset() { return possDupOffset; }
PossDupFinder implements OtfMessageAcceptor { int possDupOffset() { return possDupOffset; } }
PossDupFinder implements OtfMessageAcceptor { int possDupOffset() { return possDupOffset; }  }
PossDupFinder implements OtfMessageAcceptor { int possDupOffset() { return possDupOffset; }  MessageControl onNext(); MessageControl onField(final int tag, final AsciiBuffer buffer, final int offset, final int length); MessageControl onGroupHeader(final int tag, final int numInGroup); MessageControl onGroupBegin(final int tag, final int numInGroup, final int index); MessageControl onGroupEnd(final int tag, final int numInGroup, final int index); MessageControl onComplete(); boolean onError(
        final ValidationError error,
        final long messageType,
        final int tagNumber,
        final AsciiFieldFlyweight value); int origSendingTimeLength(); }
PossDupFinder implements OtfMessageAcceptor { int possDupOffset() { return possDupOffset; }  MessageControl onNext(); MessageControl onField(final int tag, final AsciiBuffer buffer, final int offset, final int length); MessageControl onGroupHeader(final int tag, final int numInGroup); MessageControl onGroupBegin(final int tag, final int numInGroup, final int index); MessageControl onGroupEnd(final int tag, final int numInGroup, final int index); MessageControl onComplete(); boolean onError(
        final ValidationError error,
        final long messageType,
        final int tagNumber,
        final AsciiFieldFlyweight value); int origSendingTimeLength(); static final int NO_ENTRY; }