@Test
public void shouldUseExplicitPrefixForApiControler() throws Exception {

    apiProps.getResources().setDefaultPrefix("v1");
    apiProps.getResources().setClassNamePattern("?Controller");
    mappingHandler(apiProps);
    RequestMappingInfo info = handlerMapping.getMappingForMethod(PrefixedApiController.class.getMethod("get"), PrefixedApiController.class);
    assertPattern(info, "/v2/prefixed-api/get");
}