def sample1(self):
		lclVault = Vault()
		lclGen = BasicLabelledKeyGenerator()
		
		lclpwd1 = PasswordTuple("Facebook", "q234")
		lclpwd2 = PasswordTuple("Google", "778")
		lclpwd3 = PasswordTuple("LinkedIn", "P324")
		lclpwd4 = PasswordTuple("Quora", "hjkhkg34")
		
		lclPasswordList1 = PasswordList([])
		lclPasswordList1.append(lclpwd1)
		lclPasswordList1.append(lclpwd2)

		lclPasswordList2 = PasswordList([])
		lclPasswordList2.append(lclpwd1)

		lclPasswordList3 = PasswordList([])
		lclPasswordList3.append(lclpwd4)
		
		lclKey1 = lclGen.generate(lclPasswordList1, lclpwd3)
		lclKey2 = lclGen.generate(lclPasswordList2, lclpwd4)
		
		lclVault.append(lclKey1)
		lclVault.append(lclKey2)

		print("Vault contents: ")
		print(lclVault.toString())
		
		#assert(isinstance(lclKey2, BasicLabelledKey))
		lclResultList1 = lclVault.recover(lclPasswordList2)
		lclResultList2 = lclVault.recover(lclPasswordList1)
		
		print("Recovery from Google Password: ")
		print(lclResultList1.toString())
    def sample1(self):
        lclVault = Vault()
        lclRecover = BasicRecovery()

        lclpwd1 = PasswordTuple("Facebook", "q234")
        lclpwd2 = PasswordTuple("Google", "778")
        lclpwd3 = PasswordTuple("LinkedIn", "P324")
        lclpwd4 = PasswordTuple("Quora", "hjkhkg34")

        lclPasswordList1 = PasswordList([])
        lclPasswordList1.append(lclpwd1)
        lclPasswordList1.append(lclpwd2)

        lclGen = BasicLabelledKeyGenerator()
        lclKey = lclGen.generate(lclPasswordList1, lclpwd3)
        lclVault.append(lclKey)

        lclPasswordList2 = copy.copy(lclPasswordList1)
        lclKey2 = lclGen.generate(lclPasswordList2, lclpwd4)
        lclVault.append(lclKey2)

        lclRecoveredList1 = lclVault.recover(lclPasswordList1)  # lclRecover.recoverList(lclVault, lclPasswordList1)
        print(lclRecoveredList1.toString())

        lclPasswordList1.popByIdentifier("Facebook")
        lclRecoveredList2 = lclVault.recover(lclPasswordList1)  # lclRecover.recoverList(lclVault, lclPasswordList1)
        print(lclRecoveredList2.toString())