def METHOD_NAME():
    """
    Test to ensure that multiple kernel modules are loaded.
    """
    name = "salted kernel"
    mods = ["cheese", "crackers"]
    ret = {"name": name, "result": True, "changes": {}}
    mock_mod_list = MagicMock(return_value=mods)
    with patch.dict(kmod.__salt__, {"kmod.mod_list": mock_mod_list}):
        call_ret = kmod.present(name, mods=mods)
        # Check comment independently: makes test more stable on PY3
        comment = call_ret.pop("comment")
        assert "cheese" in comment
        assert "crackers" in comment
        assert "are already present" in comment
        # Assert against all other dictionary key/values
        assert ret == call_ret
    mock_mod_list = MagicMock(return_value=[])
    with patch.dict(kmod.__salt__, {"kmod.mod_list": mock_mod_list}):
        with patch.dict(kmod.__opts__, {"test": True}):
            call_ret = kmod.present(name, mods=mods)
            ret.update({"result": None})
            # Check comment independently: makes test more stable on PY3
            comment = call_ret.pop("comment")
            assert "cheese" in comment
            assert "crackers" in comment
            assert "are set to be loaded" in comment
            # Assert against all other dictionary key/values
            assert ret == call_ret
    mock_mod_list = MagicMock(return_value=[])
    mock_available = MagicMock(return_value=mods)
    mock_load = MagicMock(return_value=mods)
    with patch.dict(
        kmod.__salt__,
        {
            "kmod.mod_list": mock_mod_list,
            "kmod.available": mock_available,
            "kmod.load": mock_load,
        },
    ):
        with patch.dict(kmod.__opts__, {"test": False}):
            call_ret = kmod.present(name, mods=mods)
            ret.update(
                {"result": True, "changes": {mods[0]: "loaded", mods[1]: "loaded"}}
            )
            # Check comment independently: makes test more stable on PY3
            comment = call_ret.pop("comment")
            assert "cheese" in comment
            assert "crackers" in comment
            assert "Loaded kernel modules" in comment
            # Assert against all other dictionary key/values
            assert ret == call_ret