@ParameterizedTest
    @EnumSource(value = LocationToThrow.class, names = {"METHOD", "RESPONSE_OBSERVER"})
    void testThrownSecondLevenDepth_IsMappedCorrectlyWithSecondLevelException(final LocationToThrow location) {

        final String message = "level under first level and second level under root triggered.";
        this.testGrpcAdviceService.setExceptionToSimulate(() -> new SecondLevelException(message));
        this.testGrpcAdviceService.setThrowLocation(location);

        final Status expectedStatus = Status.ABORTED.withDescription(message);
        final Metadata metadata = new Metadata();

        if (!location.isForStreamingOnly()) {
            testUnaryGrpcCallAndVerifyMappedException(expectedStatus, metadata);
        }

        testStreamingGrpcCallAndVerifyMappedException(expectedStatus, metadata);
    }
A test checking that the server and client can start and connect to each other with minimal config and a exception
advice is applied.

@author Andjelko Perisic (andjelko.perisic@gmail.com)
tests/src/test/java/net/devh/boot/grpc/test/advice/AdviceExceptionHandlingTest.java