use of org.candlepin.audit.EventAdapterImpl in project candlepin by candlepin.
the class AtomFeedResourceTest method setUp.
@Before
public void setUp() {
Configuration config = mock(Configuration.class);
injector = Guice.createInjector(new TestingModules.MockJpaModule(), new TestingModules.StandardTest(config), new TestingModules.ServletEnvironmentModule());
i18n = injector.getInstance(I18n.class);
ec = mock(EventCurator.class);
ea = new EventAdapterImpl(new ConfigForTesting(), i18n);
afr = new AtomFeedResource(ec, ea);
}
Aggregations