@Test
public void testGetRequiredValues()
{

    List<String> required = textPatternService.getRequiredValues( pattern ).get( "REQUIRED" );
    assertFalse( required.contains( "TEXT" ) );
    assertFalse( required.contains( "CURRENT_DATE" ) );
    assertTrue( required.contains( "ORG_UNIT_CODE" ) );
    assertFalse( required.contains( "SEQUENTIAL" ) );
    assertEquals( 1, required.size() );
}