@Test
public void testFindDimensionalItems()
{

    ProgramIndicator pi1 = new ProgramIndicator();
    pi1.setUid( CodeGenerator.generateUid() );
    ProgramIndicator pi2 = new ProgramIndicator();
    pi2.setUid( CodeGenerator.generateUid() );
    ProgramIndicator pi3 = new ProgramIndicator();
    pi3.setUid( CodeGenerator.generateUid() );
    ProgramIndicator pi4 = new ProgramIndicator();
    pi4.setUid( pi1.getUid() );
    List<DimensionalItemObject> dimensionalItems = AnalyticsUtils.findDimensionalItems( pi1.getUid(),
        Lists.newArrayList( pi1, pi2, pi3, pi4 ) );
    assertEquals( dimensionalItems.size(), 2);
}