def METHOD_NAME(self):
    inventory = make_inventory(hosts=("@docker/not-an-image",))
    State(inventory, Config())
    host = inventory.get_host("@docker/not-an-image")
    host.connect()
    fake_process = MagicMock(returncode=0)
    self.fake_popen_mock.return_value = fake_process
    host.put_file("not-a-file", "not-another-file", print_output=True)
    self.fake_popen_mock.assert_called_with(
        "sh -c 'docker cp __tempfile__ containerid:not-another-file'",
        shell=True,
        stdout=PIPE,
        stderr=PIPE,
        stdin=PIPE,
    )