@Test
public void destinationExistsPolicyOverwrite() throws IOException {

    SetMetadataParameters params = new SetMetadataParameters();
    params.setOutput(new FileTaskOutput(folder.newFile()));
    params.setExistingOutputPolicy(ExistingOutputPolicy.OVERWRITE);
    assertTrue(victim.isValid(params, null));
}