@Test
public void testExpectedNumberOfObjects40ObjectsHarvested() {

    DomainConfiguration dc = createDefaultDomainConfiguration();
    addHistoryObject(dc, 40L, 400L, StopReason.SIZE_LIMIT);
    assertEquals("The expected object size should be 38000 because only 40 objects were harvested", 85L,
            dc.getExpectedNumberOfObjects(-1L, 5000000L));
}