postings.add(new BasicPostingImpl(10,1));
postings.add(new BasicPostingImpl(100,1));
List<BitIndexPointer> pointerList = new ArrayList<BitIndexPointer>();
String filename = PostingTestUtils.writePostingsToFile(new Iterator[]{postings.iterator()}, pointerList);
BitInputStream bitIn = new BitInputStream(filename);
IterablePosting ip = new BasicIterablePosting(bitIn, postings.size(), null);
PostingTestUtils.comparePostings(postings, ip);
}