try (final DockerClient docker = getNewDockerClient()) {
// Only run this test if limits are actually supported
final Info info = docker.info();
assumeTrue(info.memoryLimit());
assumeTrue(info.swapLimit());
}
}
@Test
public void testClient() throws Exception {