source: class ClientIdInterceptorServiceTest {
  
      @InjectMocks
      private ClientIdInterceptorService clientIdInterceptorService;
      @Mock
      private AppRepository appRepository;
      private RequestContext ctx;
      private MockHttpServletRequest request;
      private MockHttpServletResponse response;
      private String clientId;
      private String someOtherClientId;
      private Api api1;
      private Api api2;
      private App app;
  
      @Test
      public void apiIdNullTest() {
  
target: 
          clientIdInterceptorService.validate(null, Location.HEADER);
  
          assertEquals(HttpStatus.UNAUTHORIZED.value(), this.ctx.getResponseStatusCode());
          assertTrue((Boolean) this.ctx.get(INTERRUPT));
          assertFalse(ctx.sendZuulResponse());
  
      }
  
  }