use of org.opendaylight.mdsal.binding.testutils.DataBrokerFailuresImpl in project mdsal by opendaylight.
the class TransactionAdapterTest method beforeTest.
@Before
public void beforeTest() throws Exception {
setup();
testableDataBroker = new DataBrokerFailuresImpl(getDataBroker());
managedNewTransactionRunner = createManagedNewTransactionRunnerToTest(testableDataBroker);
}
use of org.opendaylight.mdsal.binding.testutils.DataBrokerFailuresImpl in project mdsal by opendaylight.
the class ManagedNewTransactionRunnerImplTest method beforeTest.
@Before
public void beforeTest() throws Exception {
setup();
testableDataBroker = new DataBrokerFailuresImpl(getDataBroker());
managedNewTransactionRunner = createManagedNewTransactionRunnerToTest(testableDataBroker);
}
use of org.opendaylight.mdsal.binding.testutils.DataBrokerFailuresImpl in project genius by opendaylight.
the class DataBrokerFailuresModule method configure.
@Override
protected void configure() {
DataBrokerFailuresImpl testableDataBroker = new DataBrokerFailuresImpl(realDataBroker);
bind(DataBroker.class).toInstance(testableDataBroker);
// bind(DataBroker.class).annotatedWith(Reference.class).toInstance(testableDataBroker);
bind(DataBrokerFailures.class).toInstance(testableDataBroker);
}
Aggregations