@Test
public void testResolvePattern()
    throws Exception
{

    String result = textPatternService.resolvePattern( pattern, values );
    assertEquals( "TEXTOSL1" + (new SimpleDateFormat( "YYYY" ).format( new Date() )), result );
}