def test_NotesApplication_list(self):
     """Tests if the lists method \
     returns a value when the list \
     is empty.
     """
     lists = NotesApplication('John')
     self.assertEqual(False, lists.lists(), msg="Sorry list is empty!")
 def test_NotesApplication_list2(self):
     """Tests if the lists method \
     returns the number of elements \
     contained in the list.
     """
     list2 = NotesApplication('John')
     list2.create("Nigeria")
     list2.create("Andela")
     counter = list2.lists()
     self.assertEqual(counter, 2, msg="Successful!")
 def test_NotesApplication_list3(self):
     """Tests if the lists method \
     returns the number of elements \
     contained in the list.
     """
     list3 = NotesApplication('John')
     list3.create("Nigeria")
     list3.create("Andela")
     list3.create("Lagos")
     counter = list3.lists()
     self.assertEqual(counter, 3)