@Test
    void AnnotationExtraParamsNegativeTest() {

        AssertionFailedError exceptionA = assertThrows(
                AssertionFailedError.class,
                () -> assertAnnotationExtraParams("INCORRECT_VALUE", true),
                "failed");

        AssertionFailedError exceptionB = assertThrows(
                AssertionFailedError.class,
                () -> assertAnnotationExtraParams("testExtraParamString", false),
                "failed");

        assertNotNull(exceptionA);
        assertNotNull(exceptionB);
    }
A test checking that the client injection works.

@author Hemant Vyas (v313hemant@gmail.com)
tests/src/test/java/net/devh/boot/grpc/test/inject/GrpcClientMetaAnnotationTest.java