//System.out.println(executeCommand("fabric:profile-list"));
ModuleContext moduleContext = RuntimeLocator.getRequiredRuntime().getModuleContext();
ServiceProxy<FabricService> fabricProxy = ServiceProxy.createServiceProxy(moduleContext, FabricService.class);
try {
FabricService fabricService = fabricProxy.getService();
Container current = fabricService.getCurrentContainer();
Assert.assertEquals("localhostname", current.getResolver());
String sshUrlWithLocalhostResolver = current.getSshUrl();
System.out.println(CommandSupport.executeCommand("fabric:container-resolver-set --container root localip"));
Assert.assertEquals("localip", current.getResolver());