@Test
    @DirtiesContext
    public void testFailingInProcessCall() {
        log.info("--- Starting tests with failing in-process call ---");
        assertThrowsStatus(UNIMPLEMENTED, () -> newBlockingStub(this.inProcessChannel).unimplemented(EMPTY));

        final StreamRecorder<SomeType> streamRecorder = StreamRecorder.create();
        this.inProcessServiceStub.unimplemented(EMPTY, streamRecorder);
        assertFutureThrowsStatus(UNIMPLEMENTED, streamRecorder.firstValue(), 5, TimeUnit.SECONDS);
        assertThrowsStatus(UNIMPLEMENTED, () -> this.inProcessServiceBlockingStub.unimplemented(EMPTY));
        assertFutureThrowsStatus(UNIMPLEMENTED, this.inProcessServiceFutureStub.unimplemented(EMPTY),
                5, TimeUnit.SECONDS);
        log.info("--- Test completed ---");
    }
Test failing call for in-process server.
tests/src/test/java/net/devh/boot/grpc/test/setup/InterAndInProcessSetup2Test.java