@Test public void validStartMessageDelegates() { when: validator.onNext(); then: verify(acceptor).onNext(); }
public MessageControl onNext() { delegate.onNext(); fieldsForMessage.clear(); messageType = UNKNOWN; allFieldsForMessageType = null; return MessageControl.CONTINUE; }
OtfValidator implements OtfMessageAcceptor { public MessageControl onNext() { delegate.onNext(); fieldsForMessage.clear(); messageType = UNKNOWN; allFieldsForMessageType = null; return MessageControl.CONTINUE; } }
OtfValidator implements OtfMessageAcceptor { public MessageControl onNext() { delegate.onNext(); fieldsForMessage.clear(); messageType = UNKNOWN; allFieldsForMessageType = null; return MessageControl.CONTINUE; } OtfValidator(
        final OtfMessageAcceptor delegate,
        final LongDictionary allFields,
        final LongDictionary requiredFields); }
OtfValidator implements OtfMessageAcceptor { public MessageControl onNext() { delegate.onNext(); fieldsForMessage.clear(); messageType = UNKNOWN; allFieldsForMessageType = null; return MessageControl.CONTINUE; } OtfValidator(
        final OtfMessageAcceptor delegate,
        final LongDictionary allFields,
        final LongDictionary requiredFields); MessageControl onNext(); MessageControl onComplete(); 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); boolean onError(
        final ValidationError error, final long messageType, final int tagNumber, final AsciiFieldFlyweight value); }
OtfValidator implements OtfMessageAcceptor { public MessageControl onNext() { delegate.onNext(); fieldsForMessage.clear(); messageType = UNKNOWN; allFieldsForMessageType = null; return MessageControl.CONTINUE; } OtfValidator(
        final OtfMessageAcceptor delegate,
        final LongDictionary allFields,
        final LongDictionary requiredFields); MessageControl onNext(); MessageControl onComplete(); 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); boolean onError(
        final ValidationError error, final long messageType, final int tagNumber, final AsciiFieldFlyweight value);  }