def METHOD_NAME():
    fake_container_id = "fake_container_id"
    fake_return_code = 0
    fake_output = "fake_output"
    fake_command = "fake_cmd"
    mock_docker_client = mock.MagicMock(spec_set=docker.Client)
    mock_docker_client.exec_start.return_value = fake_output
    mock_docker_client.exec_inspect.return_value = {"ExitCode": fake_return_code}
    assert execute_in_container(
        mock_docker_client, fake_container_id, fake_command, 1
    ) == (fake_output, fake_return_code)
    expected_cmd = ["/bin/sh", "-c", fake_command]
    mock_docker_client.exec_create.assert_called_once_with(
        fake_container_id, expected_cmd
    )