RemotingIterator implements Iterator<Result> { public RemotingIterator(TableAdapter remoteTable, byte[] remoteStart, byte[] remoteEnd) { this.remoteTable = remoteTable; this.remoteStart = remoteStart; this.remoteEnd = remoteEnd; this.conf = new Configuration(); } RemotingIterator(TableAdapter remoteTable, byte[] remoteStart,
      byte[] remoteEnd); @Override boolean hasNext(); @Override Result next(); @Override void remove();  }
@Test public void testRemotingIterator() { InMemoryTable imt = new InMemoryTable(); RemotingIterator ri = new RemotingIterator(imt, "foo".getBytes(), "bar".getBytes()); ri.hasNext(); }