### Question:
BoonClient implements Client { public <T> T createProxy(final Class<T> serviceInterface, final String serviceName) { return createProxy(serviceInterface, serviceName, Str.join('-', uri, serviceName, UUID.randomUUID().toString())); } BoonClient(final String uri,
                      final HttpClient httpClient,
                      final int requestBatchSize,
                      final BeforeMethodSent beforeMethodSent); void stop(); @Override boolean connected(); void flush(); T createProxy(final Class<T> serviceInterface, final String serviceName); T createProxy(final Class<T> serviceInterface, final String serviceName, final String returnAddressArg); void start(); void startWithNotify(final Runnable runnable);  }### Answer:
@Test public void testCreateProxy() throws Exception { client.start(); Sys.sleep(100); final ServiceMock mockService = client.createProxy(ServiceMock.class, "mockService"); mockService.add(1, 2); ((ClientProxy) mockService).clientProxyFlush(); Sys.sleep(100); ok = httpSendWebSocketCalled || die(); }