def set_volume_level(self, volume):
        self._volume_level = volume
Mock set volume level.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/media_player/test_universal.py/MockMediaPlayer.set_volume_level