@Test
public void listAgentServicesMustIgnoreServiceWithNoTask() {

    SwarmDockerClientFacade facade = new SwarmDockerClientFacade(dockerClient);
    Instant ts = Instant.now();
    TestDockerClient.Service service = new TestDockerClient.Service().
            name("the_service_name").
            label("foo", "bar").
            creationTimestamp(ts);
    dockerClient.service(service);
    List<AgentHolderInfo> servicesInfo = facade.listAgentHolders("foo", "bar");
    assertThat(servicesInfo).isEmpty();
}