use of io.crnk.core.engine.url.ServiceUrlProvider in project crnk-framework by crnk-project.
the class CrnkBootTest method setServiceUrlProvider.
@Test
public void setServiceUrlProvider() {
CrnkBoot boot = new CrnkBoot();
boot.setServiceDiscoveryFactory(serviceDiscoveryFactory);
ServiceUrlProvider serviceUrlProvider = mock(ServiceUrlProvider.class);
boot.setServiceUrlProvider(serviceUrlProvider);
boot.boot();
Assert.assertEquals(serviceUrlProvider, boot.getServiceUrlProvider());
}
Aggregations