def METHOD_NAME(self) -> None:
    """List all instances."""
    # Prepare
    for _ in range(2):
        port = get_free_port()
        self.client.containers.run(
            "flower-sshd:latest",
            auto_remove=True,
            detach=True,
            ports={"22/tcp": port},
            labels={"adapter_name": self.name},
        )
    # Execute
    instances = self.adapter.list_instances()
    # Assert
    assert len(instances) == 2, "Expected to find two instances."
    ports = {i[3] for i in instances}
    assert len(ports) == 2, "Each instance should have a distinct port."