public static LocalWsClientFactory getLocal() {
    return DefaultLocalWsClientFactory.INSTANCE;
  }
@Test
  public void create_local_client() {
    LocalConnector connector = mock(LocalConnector.class);
    WsClient client = WsClientFactories.getLocal().newClient(connector);

    assertThat(client).isInstanceOf(DefaultWsClient.class);
    assertThat(client.wsConnector()).isInstanceOf(LocalWsConnector.class);
    assertThat(((LocalWsConnector) client.wsConnector()).localConnector()).isSameAs(connector);
  }