@Test
    @Configuration("{\"timeoutConnect\" : \"1\", \"timeoutRead\" : \"1\" }")
    public void shouldReturnTimeoutConfigBean_onGetConfigurationClass() {
        // WHEN retrieving the configuration class
        Class<?> confClass = timeoutPolicy.getConfigurationClass();

        // THEN it must be the payload bean config
        assertEquals(TimeoutConfigBean.class, confClass);
    }
Control the type of the config bean
plugins/timeout-policy/src/test/java/io/apiman/plugins/timeoutpolicy/TimeoutPolicyTest.java