ConfigurationManager.getConfigInstance().setProperty("testnamespace.shouldFetchRegistry", "false");
ConfigurationManager.getConfigInstance().setProperty("testnamespace.registration.enabled", "false");
ConfigurationManager.getConfigInstance().setProperty("testnamespace.serviceUrl.default", "http://localhost:8080/");
Injector injector = LifecycleInjector.builder()
.withBootstrapModule(new BootstrapModule() {
@Override
public void configure(BootstrapBinder binder) {
binder.bind(String.class).annotatedWith(EurekaNamespace.class).toInstance("testnamespace.");
}
})