List<String> empty = Collections.emptyList();
createConsumer("sys.example.com", p, empty);
}
private List<String> mockActivationKeys() {
ActivationKey key1 = new ActivationKey("key1", owner);
when(activationKeyCurator.lookupForOwner("key1", owner)).thenReturn(key1);
List<String> keys = new LinkedList<String>();
keys.add(key1.getName());
return keys;
}