protected void sendAndComplete(final StreamObserver<SomeType> requestObserver, final String message) {
        requestObserver.onNext(SomeType.newBuilder().setVersion(message).build());
        requestObserver.onNext(SomeType.newBuilder().setVersion(message).build());
        requestObserver.onNext(SomeType.newBuilder().setVersion(message).build());
        requestObserver.onCompleted();
    }
Tests with bidirectional streaming call.

@return The tests.
tests/src/test/java/net/devh/boot/grpc/test/security/AbstractSecurityTest.java