@Override
    public void close() {
        webSocketClient.close();
        executor.shutdown();
    }
@Test
    public void testCloseWebSocketOnClose() throws Exception {
        service.close();

        verify(webSocketClient).close();
        verify(executorService).shutdown();
    }