@Test
public void testGetOptionalValues()
{

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