def METHOD_NAME(self):
    self.scheduler.plugins = {
        'p1': self.PluginMock(['p2']),
        'p2': self.PluginMock(['p3']),
        'p3': self.PluginMock(['p1']),
    }
    result = self.scheduler._smart_shuffle(['p1', 'p2', 'p3'])
    assert result == []