code: def test_get_all_by_verify_key_for_status(
      root_verify_key, document_store
  ) -> None:
      random_signing_key = SyftSigningKey.generate()
      random_verify_key = random_signing_key.verify_key
      test_stash = NotificationStash(store=document_store)
  
      response = test_stash.get_all_by_verify_key_for_status(
          root_verify_key, random_verify_key, NotificationStatus.READ
      )
  
      assert response.is_ok()
  
      result = response.ok()
      assert len(result) == 0
  
      mock_notification = add_mock_notification(
          root_verify_key,
          test_stash,
          test_verify_key,
          random_verify_key,
      )
  
      response2 = test_stash.get_all_by_verify_key_for_status(
          root_verify_key,
          mock_notification.to_user_verify_key,
          NotificationStatus.UNREAD,
      )
      assert response2.is_ok()
  
      result = response2.ok()
      assert len(result) == 1
  
      assert result[0] == mock_notification
  
      with pytest.raises(AttributeError):
          test_stash.get_all_by_verify_key_for_status(
              root_verify_key,
              random_signing_key,
              NotificationStatus.UNREAD,
          )
  
imports: import pytest
  from pytest import MonkeyPatch
  from result import Err
  from syft.node.credentials import SyftSigningKey
  from syft.node.credentials import SyftVerifyKey
  from syft.service.notification.notification_stash import OrderByCreatedAtTimeStampPartitionKey
  from syft.service.notification.notification_stash import FromUserVerifyKeyPartitionKey
  from syft.service.notification.notification_stash import NotificationStash
  from syft.service.notification.notification_stash import StatusPartitionKey
  from syft.service.notification.notification_stash import ToUserVerifyKeyPartitionKey
  from syft.service.notification.notifications import Notification
  from syft.service.notification.notifications import NotificationExpiryStatus
  from syft.service.notification.notifications import NotificationStatus
  from syft.types.datetime import DateTime
  from syft.types.uid import UID
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_all_by_verify_key_for_status(root_verify_key, document_store) without return types