async def METHOD_NAME(mocker):
    execute = mock.AsyncMock()
    execute.side_effect = [(0, ["staple complete"])]
    mocker.patch.object(rcodesign, "_execute_command", execute)
    path = "/foo/bar"
    await rcodesign.rcodesign_staple(path)
    execute.assert_awaited_once_with(["rcodesign", "staple", path])