def mute_volume(self):
        self._is_volume_muted = ~self._is_volume_muted
Mock mute function.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/media_player/test_universal.py/MockMediaPlayer.mute_volume