@Test
public void testInvalidClient() throws Exception {

  final Supplier<Set<String>> supplier = () -> Set.of("Styx CLI 0.1.1");
  RequestContext requestContext = mockRequestContext(true);
  Response<Object> response = awaitResponse(Middlewares.clientValidator(supplier)
      .apply(mockInnerHandler(requestContext))
      .invoke(requestContext));
  assertThat(response, hasStatus(belongsToFamily(Status.Family.CLIENT_ERROR)));
}