def test_is_enrolled_empty_class_list(self):
     test_class = ClassList(2)
     self.assertFalse(test_class.is_enrolled('Snoop Dogg'))
 def test_fail_with_student_who_is_not_enrolled(self):
     test_class = ClassList(2)
     test_class.add_student('Kirk Cousins')
     test_class.add_student('Deshaun Watson')
     self.assertFalse(test_class.is_enrolled('Joe'))
 def test_is_enrolled_when_student_present(self):
     test_class = ClassList(2)
     test_class.add_student('Snoop Dogg')
     test_class.add_student('Martha Stewart')
     self.assertTrue(test_class.is_enrolled('Snoop Dogg'))
     self.assertTrue(test_class.is_enrolled('Martha Stewart'))