def METHOD_NAME(
    fake_fopen_has_etc_shadow, has_not_spwd, fake_pwnam, has_shadow_file
):
    with patch.dict(
        solaris_shadow.__salt__,
        {"cmd.run_all": MagicMock(return_value={"retcode": 42})},
    ):
        actual_result = solaris_shadow.info(name="roscivs")
    assert actual_result["passwd"] == "bottia"