  @Test
  public void send() {

    ServerSocket socket = mock(ServerSocket.class);
    Server server = new DefaultServer() {
      @Override
      public Server find(ServerSocketPredicate predicate, SerializableAction<ServerSocket> action) {
        action.on(socket);
        return this;
      }
    };
    server.find(NOOP_PREDICATE).send("event");
    verify(socket, times(1)).send("event", null);
    server.find(NOOP_PREDICATE).send("event", "data");
    verify(socket, times(1)).send("event", "data");
  }