### Question:
ServiceNotFoundFilter extends ZuulFilter { @Override public boolean shouldFilter() { RequestContext currentContext = contextProvider.context(); String serviceId = (String) currentContext.get(SERVICE_ID_KEY); return Strings.isEmpty(serviceId); }  @Override String filterType(); @Override int filterOrder(); @Override boolean shouldFilter(); @Override Object run();  }### Answer:
@Test void givenThereIsValidServiceId_whenTheUserRequestsThePath_thenThisFilterIsIgnored() { RequestContext context = new RequestContext(); context.set(SERVICE_ID_KEY, "validServiceId"); when(provider.context()).thenReturn(context); Boolean ignoreThisFilter = underTest.shouldFilter(); assertThat(ignoreThisFilter, is(false)); }