def METHOD_NAME(self):
    """
    Test shadow.set_change
    """
    info_mock = MagicMock(return_value="root:*:0:0::0:0:Charlie &:/root:/bin/sh")
    usermod_mock = MagicMock(return_value=0)
    with patch.dict(shadow.__salt__, {"cmd.run_stdout": info_mock}):
        with patch.dict(shadow.__salt__, {"cmd.run": usermod_mock}):
            shadow.set_change("root", 42)
    usermod_mock.assert_called_once_with(
        ["pw", "user", "mod", "root", "-f", 42], python_shell=False
    )