@Test
public void listAgentServicesMustIgnoreNonMatchingService() {

    SwarmDockerClientFacade facade = new SwarmDockerClientFacade(dockerClient);
    TestDockerClient.Service service = new TestDockerClient.Service().
            label("foo", "baz");
    service.pushTask().state(TaskRunningState.RUNNING.toString().toLowerCase());
    dockerClient.service(service);
    List<AgentHolderInfo> servicesInfo = facade.listAgentHolders("foo", "bar");
    assertThat(servicesInfo).isEmpty();
}