def METHOD_NAME():
    """
    Test for Add a virtual service.
    """
    with patch.object(lvs, "__detect_os", return_value="C"):
        with patch.object(lvs, "_build_cmd", return_value="B"):
            with patch.dict(
                lvs.__salt__,
                {
                    "cmd.run_all": MagicMock(
                        return_value={"retcode": "ret", "stderr": "stderr"}
                    )
                },
            ):
                assert lvs.add_service() == "stderr"