use of cn.taketoday.web.bind.MissingPathVariableException in project today-framework by TAKETODAY.
the class ResponseEntityExceptionHandlerTests method missingPathVariable.
@Test
public void missingPathVariable() throws NoSuchMethodException {
Method method = getClass().getDeclaredMethod("handle", String.class);
MethodParameter parameter = new MethodParameter(method, 0);
Exception ex = new MissingPathVariableException("param", parameter);
testException(ex);
}
Aggregations