@Test
public void testValidSortOrder() {

  Context context = new Context();
  context.put(SpoolDirectorySourceConfigurationConstants.SPOOL_DIRECTORY,
      tmpDir.getAbsolutePath());
  context.put(SpoolDirectorySourceConfigurationConstants.CONSUME_ORDER,
      "oLdESt");
  Configurables.configure(source, context);
  context.put(SpoolDirectorySourceConfigurationConstants.CONSUME_ORDER,
      "yoUnGest");
  Configurables.configure(source, context);
  context.put(SpoolDirectorySourceConfigurationConstants.CONSUME_ORDER,
      "rAnDom");
  Configurables.configure(source, context);
}