use of org.opendaylight.netvirt.aclservice.AclInterfaceCacheImpl in project netvirt by opendaylight.
the class AclServiceTestModule method configure.
@Override
protected void configure() {
bind(DataBroker.class).toInstance(DataBrokerTestModule.dataBroker());
bind(AclserviceConfig.class).toInstance(aclServiceConfig());
bind(AclClusterUtil.class).toInstance(() -> true);
TestIMdsalApiManager singleton = TestIMdsalApiManager.newInstance();
bind(IMdsalApiManager.class).toInstance(singleton);
bind(TestIMdsalApiManager.class).toInstance(singleton);
bind(IdManagerService.class).toInstance(Mockito.mock(TestIdManagerService.class, realOrException()));
bind(OpendaylightDirectStatisticsService.class).toInstance(Mockito.mock(TestOdlDirectStatisticsService.class, realOrException()));
bind(JobCoordinatorEventsWaiter.class).to(TestableJobCoordinatorEventsWaiter.class);
bind(AclInterfaceCache.class).toInstance(new AclInterfaceCacheImpl());
bind(ServiceRecoveryRegistry.class).toInstance(mock(ServiceRecoveryRegistry.class));
}
Aggregations