protected void assertServerStreamingCallFailure(final TestServiceStub serviceStub, final Code expectedCode) {
        final StreamRecorder<SomeType> streamRecorder = StreamRecorder.create();
        serviceStub.secureSupply(EMPTY, streamRecorder);
        assertFutureThrowsStatus(expectedCode, streamRecorder, 15, SECONDS);
    }
Tests with server streaming call.

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