assertTrue(validations.contains("fake"));
assertTrue(validations.contains("refake"));
}
private static PullRepository createRepo() {
final PullRepository repo = new PullRepository();
for (int i = 0; i < 3; i++) {
repo.getCounter(new Counter.Key(Role.PERFORMANCES, "counter#" + i)).add(i);
}
repo.addGauge(new Gauge() {
public int value = 0;
@Override
public Role role() {
return new Role("gaugerole", Unit.UNARY);