@Test
public void shouldNotProcessApiOptionsForRestController() throws Exception {

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