protected void assertBidiCallFailure(final TestServiceStub serviceStub, final Code expectedCode) {
        final StreamRecorder<SomeType> responseRecorder = StreamRecorder.create();
        final StreamObserver<SomeType> requestObserver = serviceStub.secureBidi(responseRecorder);
        sendAndComplete(requestObserver, "explode");
        assertFutureThrowsStatus(expectedCode, responseRecorder, 15, SECONDS);
    }
Tests with bidirectional streaming call.

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