// verify both repo trashes have the files
assertThat(releaseTrashFile, FileMatchers.isFile());
assertThat(snapshotTrashFile, FileMatchers.isFile());
// empty trash but only on snapshot repo
ScheduledServicePropertyResource age = new ScheduledServicePropertyResource();
age.setKey(EmptyTrashTaskDescriptor.OLDER_THAN_FIELD_ID);
age.setValue("0");
ScheduledServicePropertyResource repository = new ScheduledServicePropertyResource();
age.setKey(EmptyTrashTaskDescriptor.REPO_OR_GROUP_FIELD_ID);
age.setValue(REPO_TEST_HARNESS_SNAPSHOT_REPO);
TaskScheduleUtil.runTask("Empty Trash Older Than", EmptyTrashTaskDescriptor.ID, age, repository);
// verify that only releases trash has the file (other was nuked)