Collection<PhysicalPartitionKey> phyPartitions = new ArrayList<PhysicalPartitionKey>();
DbusEventBufferMult db = new DbusEventBufferMult();
DbusEventBufferMult.DbusEventBufferBatchReader dbr = db.new DbusEventBufferBatchReader(cp, phyPartitions, null);
// Return true only once if streamFromLatest == true
PhysicalPartitionKey pk = new PhysicalPartitionKey();
Set<PhysicalPartitionKey> sls = new HashSet<PhysicalPartitionKey>();
boolean streamFromLatestScn = true;
// The set is initially empty - meaning none of the partitions have been served
Assert.assertTrue(dbr.computeStreamFromLatestScnForPartition(pk, sls, streamFromLatestScn));