@Test
public void shouldIntegrateEveryOptionForApiController() throws Exception {

    apiProps.setPath("/api");
    apiProps.getResources().setDefaultPrefix("v1");
    apiProps.getResources().setClassNamePattern("List?Controller");
    mappingHandler(apiProps);
    RequestMappingInfo info = handlerMapping.getMappingForMethod(ListEndpointApiController.class.getMethod("getList"), ListEndpointApiController.class);
    assertPattern(info, "/api/v1/endpoint-api/getList");
}