@Test
public void testIsPeriodInPeriods()
{

    Period p1 = PeriodType.getPeriodFromIsoString( "202001" );
    Period p2 = PeriodType.getPeriodFromIsoString( "202002" );
    Period p3 = PeriodType.getPeriodFromIsoString( "202003" );
    List<DimensionalItemObject> periods = Lists.newArrayList( p1, p2, p3 );
    assertTrue( AnalyticsUtils.isPeriodInPeriods( "202001", periods ) );
    assertFalse( AnalyticsUtils.isPeriodInPeriods( "202005", periods ) );
}