'Test supported media commands.'

@mock.patch('libsoundtouch.soundtouch_device')
def test_media_commands(self, mocked_sountouch_device):

    soundtouch.setup_platform(self.hass, default_component(), mock.MagicMock())
    self.assertEqual(mocked_sountouch_device.call_count, 1)
    all_devices = self.hass.data[soundtouch.DATA_SOUNDTOUCH]
    self.assertEqual(all_devices[0].supported_features, 17853)
