'Keep the n first genres, as we expect them to be sorted from more to
less popular.'

def test_count(self):

    self._setup_config(whitelist=set(['blues', 'rock', 'jazz']), count=2)
    self.assertEqual(self.plugin._resolve_genres(['jazz', 'pop', 'rock', 'blues']), u'Jazz,    Rock')
