@Test
public void testCalculateObjectStatistics() {

  ObjectStatisticsCriteria criteria = ObjectStatisticsCriteria.builder()
          .addObjectID(UUID.randomUUID())
          .addAvailableOrganizationID(UUID.randomUUID())
          .setCurrentUserID(UUID.randomUUID())
          .build();
  ObjectStatisticsContainer container = ObjectStatisticsContainer.builder().build();
  when(factSearchManager.calculateObjectStatistics(criteria)).thenReturn(container);
  assertSame(container, dao.calculateObjectStatistics(criteria));
  verify(factSearchManager).calculateObjectStatistics(criteria);
}