def METHOD_NAME(self):
    ret = self.run_state(
        "lxd_container.present",
        name="test-container",
        running=True,
        source={"type": "image", "alias": "images:centos/7"},
        devices={
            "data1": {"type": "disk", "source": "/tmp", "path": "/mnt/data"},
            "port9000": {
                "type": "proxy",
                "listen": "tcp:127.0.0.1:9000",
                "connect": "tcp:127.0.0.1:9000",
            },
        },
    )
    name = "lxd_container_|-test-container_|-test-container_|-present"
    self.assertSaltTrueReturn(ret)
    assert name in ret
    assert (
        ret[name]["changes"]["started"] == 'Started the container "test-container"'
    )