void testUnaryGrpcCallAndVerifyMappedException(final Status expectedStatus, final Metadata expectedMetadata) {

        verifyManualBlockingStubCall(expectedStatus, expectedMetadata);
        verifyBlockingStubCall(expectedStatus, expectedMetadata);
        verifyManualFutureStubCall(expectedStatus, expectedMetadata);
        verifyFutureStubCall(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