Search in sources :

Example 1 with EasyCrudServiceResolver

use of org.summerb.approaches.jdbccrud.api.EasyCrudServiceResolver in project summerb by skarpushin.

the class DataSetLoaderImplTest method buildMockedInstance.

private DataSetLoaderImpl buildMockedInstance() {
    DataSetLoaderImpl ret = new DataSetLoaderImpl();
    EasyCrudServiceResolver easyCrudServiceResolver = Mockito.mock(EasyCrudServiceResolver.class);
    ret.setEasyCrudServiceResolver(easyCrudServiceResolver);
    ReferencesRegistry referencesRegistry = Mockito.mock(ReferencesRegistry.class);
    ret.setReferencesRegistry(referencesRegistry);
    return ret;
}
Also used : DataSetLoaderImpl(org.summerb.approaches.jdbccrud.impl.relations.DataSetLoaderImpl) ReferencesRegistry(org.summerb.approaches.jdbccrud.api.relations.ReferencesRegistry) EasyCrudServiceResolver(org.summerb.approaches.jdbccrud.api.EasyCrudServiceResolver)

Aggregations

EasyCrudServiceResolver (org.summerb.approaches.jdbccrud.api.EasyCrudServiceResolver)1 ReferencesRegistry (org.summerb.approaches.jdbccrud.api.relations.ReferencesRegistry)1 DataSetLoaderImpl (org.summerb.approaches.jdbccrud.impl.relations.DataSetLoaderImpl)1