@Test
    @DirtiesContext
    public void testSuccessfulInProcessCall() throws InterruptedException, ExecutionException {
        log.info("--- Starting tests with successful in-process call ---");
        assertEquals("1.2.3", newBlockingStub(this.inProcessChannel).normal(EMPTY).getVersion());

        final StreamRecorder<SomeType> streamRecorder = StreamRecorder.create();
        this.inProcessServiceStub.normal(EMPTY, streamRecorder);
        assertEquals("1.2.3", streamRecorder.firstValue().get().getVersion());
        assertEquals("1.2.3", this.inProcessServiceBlockingStub.normal(EMPTY).getVersion());
        assertEquals("1.2.3", this.inProcessServiceFutureStub.normal(EMPTY).get().getVersion());
        log.info("--- Test completed ---");
    }
Test successful call for in-process server.

@throws ExecutionException Should never happen.
@throws InterruptedException Should never happen.
tests/src/test/java/net/devh/boot/grpc/test/setup/InterAndInProcessSetupTest.java