EhourBackupConfig implements BackupConfig { @Override public List<BackupEntityType> reverseOrderedValues() { return REVERSE_ORDER; }  @Override List<BackupEntityType> backupEntities(); @Override BackupEntityType entityForClass(Class clazz); @Override List<BackupEntityType> reverseOrderedValues(); @Override List<BackupJoinTable> joinTables(); @Override BackupJoinTable joinTableForName(String name);  }
@Test public void should_reverse_order() { EhourBackupConfig backupConfig = new EhourBackupConfig(); List<BackupEntityType> types = backupConfig.reverseOrderedValues(); assertTrue(types.get(0).getOrder() > types.get(1).getOrder()); }