Search in sources :

Example 1 with InMemoryDbClient

use of com.emc.sa.model.mock.InMemoryDbClient in project coprhd-controller by CoprHD.

the class ExecutionEngineImplTest method setUp.

@Before
public void setUp() {
    VdcUtil.setDbClient(MockDbClient.create());
    modelClient = new ModelClient(new InMemoryDbClient());
    coordinatorClient = new StubCoordinatorClientImpl(URI.create("urn:StubCoordinatorClientImpl"));
}
Also used : InMemoryDbClient(com.emc.sa.model.mock.InMemoryDbClient) ModelClient(com.emc.sa.model.dao.ModelClient) StubCoordinatorClientImpl(com.emc.sa.model.mock.StubCoordinatorClientImpl) Before(org.junit.Before)

Aggregations

ModelClient (com.emc.sa.model.dao.ModelClient)1 InMemoryDbClient (com.emc.sa.model.mock.InMemoryDbClient)1 StubCoordinatorClientImpl (com.emc.sa.model.mock.StubCoordinatorClientImpl)1 Before (org.junit.Before)1