use of io.crnk.meta.internal.MetaResourceRepositoryImpl in project crnk-framework by crnk-project.
the class MetaResourceRepositoryTest method setup.
@Before
public void setup() {
super.setup();
ResourceMetaProvider provider = new ResourceMetaProvider();
lookup = new MetaLookup();
lookup.setModuleContext(boot.getModuleRegistry().getContext());
lookup.addProvider(provider);
lookup.initialize();
repo = new MetaResourceRepositoryImpl(new Supplier<MetaLookup>() {
@Override
public MetaLookup get() {
return lookup;
}
}, MetaElement.class);
}
Aggregations