added a mock for TimeBasedGenerator to use a fake ChunkingHistoryStub.