@DisplayName("create throws NullPointerException with null client")
@Test
void createNullHttpClient() {

  assertThatNullPointerException()
      .isThrownBy(() -> WebsocketServerTransport.create((HttpServer) null))
      .withMessage("server must not be null");
}