153154155156157158159160161162163
zuulServletFilter.doFilter(servletRequest, servletResponse, filterChain); verify(zuulServletFilter, times(1)).routing(); verify(zuulServletFilter, times(1)).error(e); } catch (Exception e) { e.printStackTrace(); fail(e.toString()); } }
180181182183184185186187188189190
zuulServletFilter.doFilter(servletRequest, servletResponse, filterChain); verify(zuulServletFilter, times(1)).preRouting(); verify(zuulServletFilter, times(1)).error(e); } catch (Exception e) { e.printStackTrace(); fail(e.toString()); }
208209210211212213214215216217218
zuulServletFilter.doFilter(servletRequest, servletResponse, filterChain); verify(zuulServletFilter, times(1)).postRouting(); verify(zuulServletFilter, times(1)).error(e); } catch (Exception e) { e.printStackTrace(); fail(e.toString()); } }