5859606162636465
private ConsumerStatusReport report; @Before public void setUp() throws Exception { I18nProvider i18nProvider = new I18nProvider(mockReq); report = new ConsumerStatusReport(i18nProvider, complianceSnapshotCurator); }
4041424344454647
private ParameterDescriptor desc; @Before public void setUp() throws Exception { I18n i18n = new I18nProvider(mockReq).get(); desc = new ParameterDescriptor(i18n, "test-name", "test-desc"); }
5253545556575859
private ConsumerTrendReport report; @Before public void setUp() throws Exception { I18nProvider i18nProvider = new I18nProvider(mockReq); report = new ConsumerTrendReport(i18nProvider, complianceSnapshotCurator); }
5455565758596061
} @Override protected void bindI18n() { // TODO Auto-generated method stub bind(I18nProvider.class).toInstance(new I18nProvider(request)); bind(I18n.class).toProvider(I18nProvider.class); }