// Path: src/main/java/pl/domzal/junit/docker/rule/ex/ImagePullException.java
// public class ImagePullException extends IllegalStateException {
// 
//     public ImagePullException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
// }


import static org.junit.Assert.*;
import java.util.List;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.spotify.docker.client.DockerClient;
import com.spotify.docker.client.DockerClient.ListContainersParam;
import com.spotify.docker.client.DockerClient.ListImagesParam;
import com.spotify.docker.client.exceptions.DockerException;
import com.spotify.docker.client.exceptions.ImageNotFoundException;
import com.spotify.docker.client.messages.Container;
import com.spotify.docker.client.messages.ContainerInfo;
import com.spotify.docker.client.messages.Image;
import pl.domzal.junit.docker.rule.ex.ImagePullException;
package pl.domzal.junit.docker.rule;






@Category(test.category.Stable.class)
public class DockerRuleImagePullTest {

    private static Logger log = LoggerFactory.getLogger(DockerRuleImagePullTest.class);

    @Rule
    public DockerRule helperRule = DockerRule.builder()//
            .imageName("busybox:1.25.1")//
            .build();

    private DockerClient helperClient = helperRule.getDockerClient();

// Path: src/main/java/pl/domzal/junit/docker/rule/ex/ImagePullException.java
// public class ImagePullException extends IllegalStateException {
// 
//     public ImagePullException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
// }


// Path: src/test/java/pl/domzal/junit/docker/rule/DockerRuleImagePullTest.java
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.spotify.docker.client.DockerClient;
import com.spotify.docker.client.DockerClient.ListContainersParam;
import com.spotify.docker.client.DockerClient.ListImagesParam;
import com.spotify.docker.client.exceptions.DockerException;
import com.spotify.docker.client.exceptions.ImageNotFoundException;
import com.spotify.docker.client.messages.Container;
import com.spotify.docker.client.messages.ContainerInfo;
import com.spotify.docker.client.messages.Image;
import pl.domzal.junit.docker.rule.ex.ImagePullException;

package pl.domzal.junit.docker.rule;






@Category(test.category.Stable.class)
public class DockerRuleImagePullTest {

    private static Logger log = LoggerFactory.getLogger(DockerRuleImagePullTest.class);

    @Rule
    public DockerRule helperRule = DockerRule.builder()//
            .imageName("busybox:1.25.1")//
            .build();

    private DockerClient helperClient = helperRule.getDockerClient();

    @Test(expected = ImagePullException.class)