@Test public void should_set_docker_host_ip() { SystemPropertiesCubeSetter systemPropertiesCubeSetter = new SystemPropertiesCubeSetter(); systemPropertiesCubeSetter.createDockerHostProperty(new BeforeSuite(), dockerClientExecutor); assertThat(System.getProperty("arq.cube.docker.host")).isEqualTo("192.168.99.100"); }
public void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor) { System.setProperty(String.format("%s.host", PREFIX), dockerClientExecutor.getDockerServerIp()); }
SystemPropertiesCubeSetter { public void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor) { System.setProperty(String.format("%s.host", PREFIX), dockerClientExecutor.getDockerServerIp()); } }
SystemPropertiesCubeSetter { public void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor) { System.setProperty(String.format("%s.host", PREFIX), dockerClientExecutor.getDockerServerIp()); }  }
SystemPropertiesCubeSetter { public void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor) { System.setProperty(String.format("%s.host", PREFIX), dockerClientExecutor.getDockerServerIp()); }  void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor); void removeDockerHostProperty(@Observes AfterSuite afterSuite); void createCubeSystemProperties(@Observes AfterStart afterStart, CubeRegistry cubeRegistry); void removeCubeSystemProperties(@Observes AfterDestroy afterDestroy); }
SystemPropertiesCubeSetter { public void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor) { System.setProperty(String.format("%s.host", PREFIX), dockerClientExecutor.getDockerServerIp()); }  void createDockerHostProperty(@Observes BeforeSuite beforeSuite, DockerClientExecutor dockerClientExecutor); void removeDockerHostProperty(@Observes AfterSuite afterSuite); void createCubeSystemProperties(@Observes AfterStart afterStart, CubeRegistry cubeRegistry); void removeCubeSystemProperties(@Observes AfterDestroy afterDestroy);  }