code: def test_mark_as_read_success(
      root_verify_key,
      monkeypatch: MonkeyPatch,
      notification_service: NotificationService,
      authed_context: AuthedServiceContext,
      document_store: DocumentStore,
  ) -> None:
      random_signing_key = SyftSigningKey.generate()
      random_verify_key = random_signing_key.verify_key
      test_notification_service = NotificationService(document_store)
      test_stash = NotificationStash(store=document_store)
  
      expected_message = add_mock_notification(
          authed_context.credentials,
          test_stash,
          test_verify_key,
          random_verify_key,
          NotificationStatus.UNREAD,
      )
  
      assert expected_message.status == NotificationStatus.UNREAD
  
      def mock_update_notification_status() -> Ok:
          return Ok(expected_message)
  
      monkeypatch.setattr(
          notification_service.stash,
          "update_notification_status",
          mock_update_notification_status,
      )
  
      response = test_notification_service.mark_as_read(
          authed_context, expected_message.id
      )
  
      assert response.status == NotificationStatus.READ
  
imports: from pytest import MonkeyPatch
  from result import Err
  from result import Ok
  from syft.node.credentials import SyftSigningKey
  from syft.node.credentials import SyftVerifyKey
  from syft.service.context import AuthedServiceContext
  from syft.service.notification.notification_service import NotificationService
  from syft.service.notification.notification_stash import NotificationStash
  from syft.service.notification.notifications import CreateNotification
  from syft.service.notification.notifications import Notification
  from syft.service.notification.notifications import NotificationStatus
  from syft.service.response import SyftError
  from syft.service.response import SyftSuccess
  from syft.store.document_store import DocumentStore
  from syft.store.linked_obj import LinkedObject
  from syft.types.datetime import DateTime
  from syft.types.uid import UID
label_desc: Use image node_id 14 for calling a global function with example usage: test_mark_as_read_success(root_verify_key, monkeypatch, notification_service, authed_context, document_store) and returns: Ok