def TestAdd(self):
     '''
     Testeaza functia de adaugare a unui element 
     '''
     repo = RepositoryNota()
     repo.add(1)
     assert repo.getAll() == [1]
     repo.add(2)
     assert repo.getAll() == [1, 2]
     repo.add(1)
     assert repo.getAll() == [1, 2, 1]
 def TestRemove(self):
     '''
     Testeaza functia de adaugare a unui element
     '''
     repo = RepositoryNota()
     repo.add(1)
     repo.add(2)
     repo.removeEl(1)
     assert repo.getAll() == [2]
     repo.removeEl(2)
     assert repo.getAll() == []
 def TestInit(self):
     '''
     Testeaza functia de initializare 
     '''
     repo = RepositoryNota()
     assert repo.getAll() == []