@Before
public void init() throws Exception {
this.i18n = I18nFactory.getI18n(getClass(), Locale.US, I18nFactory.FALLBACK);
this.config = initConfig();
this.resource = new ConsumerResource(this.consumerCurator,
this.consumerTypeCurator, null, this.subscriptionService, null,
this.idCertService, null, this.i18n, this.sink, null, null, null,
this.userService, null, null, null, this.ownerCurator,
this.activationKeyCurator,
null, this.complianceRules, this.deletedConsumerCurator,