def test_get_config_with_stuff(self):
     c1 = DummyClassifier()
     c2 = DummyClassifier()
     ccol = ClassifierCollection({'a': c1}, b=c2)
     # dummy returns {} config.
     self.assertEqual(
         ccol.get_config(),
         {
             'a': {
                 'type': 'tests.interfaces.test_classifier.DummyClassifier',
                 'tests.interfaces.test_classifier.DummyClassifier': {},
             },
             'b': {
                 'type': 'tests.interfaces.test_classifier.DummyClassifier',
                 'tests.interfaces.test_classifier.DummyClassifier': {},
             }
         }
     )
 def test_get_config_empty(self):
     # The config coming out of an empty collection should be an empty
     # dictionary.
     ccol = ClassifierCollection()
     self.assertEqual(ccol.get_config(), {})