### Question:
CustomSendErrorFilter extends SendErrorFilter { @Override public int filterOrder() { return super.filterOrder() - 1; } CustomSendErrorFilter(@Value("${error.path:/error}") String errorPath); @Override int filterOrder(); @Override Object run(); @Override void setErrorPath(String errorPath); static final String ERROR_FILTER_RAN; }### Answer:
@Test void givenFilter_whenGetOrder_ShouldBeOne() { int filterOrder = filter.filterOrder(); assertEquals(-1, filterOrder); }