@DirtiesContext
    @TestFactory
    DynamicTestCollection unaryCallTest() {
        return DynamicTestCollection.create()
                .add("unary-default",
                        () -> assertUnaryCallSuccess(this.serviceStub, this.blockingStub, this.futureStub))
                .add("unary-noPerm",
                        () -> assertUnaryCallFailure(this.noPermStub, this.noPermBlockingStub, this.noPermFutureStub,
                                PERMISSION_DENIED));
    }
Tests with unary call.

@return The tests.
tests/src/test/java/net/devh/boot/grpc/test/security/AbstractSecurityTest.java