@Test
public void testGetPartitions()
{

    assertEquals( new Partitions( Sets.newHashSet( 2000 ) ), PartitionUtils.getPartitions( createPeriod( "200001" ) ) );
    assertEquals( new Partitions( Sets.newHashSet( 2001 ) ), PartitionUtils.getPartitions( createPeriod( "200110" ) ) );
    assertEquals( new Partitions( Sets.newHashSet( 2002 ) ), PartitionUtils.getPartitions( createPeriod( "2002Q2" ) ) );
    assertEquals( new Partitions( Sets.newHashSet( 2003 ) ), PartitionUtils.getPartitions( createPeriod( "2003S2" ) ) );
    assertEquals( new Partitions( Sets.newHashSet( 2000, 2001 ) ), PartitionUtils.getPartitions( createPeriod( "2000July" ) ) );
    assertEquals( new Partitions( Sets.newHashSet( 2001, 2002 ) ), PartitionUtils.getPartitions( createPeriod( "2001April" ) ) );
}