Search in sources :

Example 1 with DataBrokerFailuresImpl

use of org.opendaylight.genius.datastoreutils.testutils.DataBrokerFailuresImpl in project genius by opendaylight.

the class ManagedNewTransactionRunnerImplTest method beforeTest.

@Before
public void beforeTest() {
    testableDataBroker = new DataBrokerFailuresImpl(new DataBrokerTestModule(true).getDataBroker());
    managedNewTransactionRunner = createManagedNewTransactionRunnerToTest(testableDataBroker);
    singleTransactionDataBroker = new SingleTransactionDataBroker(testableDataBroker);
}
Also used : DataBrokerTestModule(org.opendaylight.controller.md.sal.binding.test.DataBrokerTestModule) DataBrokerFailuresImpl(org.opendaylight.genius.datastoreutils.testutils.DataBrokerFailuresImpl) SingleTransactionDataBroker(org.opendaylight.genius.datastoreutils.SingleTransactionDataBroker) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 DataBrokerTestModule (org.opendaylight.controller.md.sal.binding.test.DataBrokerTestModule)1 SingleTransactionDataBroker (org.opendaylight.genius.datastoreutils.SingleTransactionDataBroker)1 DataBrokerFailuresImpl (org.opendaylight.genius.datastoreutils.testutils.DataBrokerFailuresImpl)1