def test_names_as_list_when_empty(self):
     subject = MyMagic([])
     self.assertEqual(subject.names_as_list(), [])
 def test_names_as_list(self):
     subject = MyMagic(self.names)
     self.assertEqual(subject.names_as_list(), ["John", "Molly", "Jane"])
 def test_names_as_list(self):
     subject=MyMagic(self.names)
     self.assertEqual(subject.names_as_list(), ['John', 'Molly', 'Jane'])