int numReduceTasks = 100;
int partitionFromRef = refPartitioner.getPartition("http://www.example.org/", numReduceTasks);
//init selector entry (score shouldn't matter)
SelectorEntry selectorEntry = new SelectorEntry("http://www.example.org/", 1337);
WebPage page = new WebPage();
int partitionFromSig = sigPartitioner.getPartition(selectorEntry, page, numReduceTasks);
assertEquals("partitions should be same",
partitionFromRef, partitionFromSig);