verify(purgeDao).purge(argThat(new ArgumentMatcher<PurgeConfiguration>() {
@Override
public boolean matches(Object o) {
PurgeConfiguration conf = (PurgeConfiguration) o;
return conf.rootProjectId() == 1L &&
conf.scopesWithoutHistoricalData().length == 2 &&
conf.scopesWithoutHistoricalData()[0].equals(Scopes.DIRECTORY) &&
conf.scopesWithoutHistoricalData()[1].equals(Scopes.FILE);
}
}));
}