eq(consumer.getUuid()))).thenReturn(consumer);
when(overrideRules.canOverrideForConsumer(
any(String.class))).thenReturn(true);
i18n = I18nFactory.getI18n(getClass(), Locale.US, I18nFactory.FALLBACK);
contentOverrideValidator = new ContentOverrideValidator(i18n, overrideRules);
resource = new ConsumerContentOverrideResource(consumerContentOverrideCurator,
consumerCurator, contentOverrideValidator, i18n);
when(principal.canAccess(any(Object.class), any(SubResource.class),
any(Access.class))).thenReturn(true);
}