def test_remove_sharing_record_by_owner_info(self):
     collection_name = "test_collection_name"
     SharingController.create_sharing_record(self.__account_id, collection_name, callback=self.stop)
     sharing_secret = self.wait()
     self.assertTrue(sharing_secret is not None)
     SharingController.remove_sharing_record_by_owner_info(self.__account_id, collection_name, callback=self.stop)
     self.wait(timeout=10)
     # verify
     SharingController.get_sharing_record_by_secret(sharing_secret, callback=self.stop)
     sharing_record = self.wait()
     self.assertTrue(sharing_record is None)
     # verify subscriber collection
     SharingController.get_sharing_secret_from_subscriber_info(
         self.__account_id, collection_name, callback=self.stop
     )
     actual_sharing_secret = self.wait()
     self.assertTrue(actual_sharing_secret is None)