private void verifyManualFutureStubCall(
            final Status expectedStatus, final Metadata expectedMetadata) {

        final StreamRecorder<SomeType> streamRecorder = StreamRecorder.create();
        this.testServiceStub.normal(EMPTY, streamRecorder);
        final StatusRuntimeException actualException =
                assertFutureThrowsStatus(streamRecorder.firstValue(), 5, TimeUnit.SECONDS);

        verifyStatusAndMetadata(actualException, expectedStatus, expectedMetadata);
    }
Test template call to check for every exception.

@param expectedStatus The status to expect.
@param expectedMetadata The metadata to expect.
tests/src/test/java/net/devh/boot/grpc/test/advice/AbstractSimpleServerClientTest.java