code: def test_neptune_additional_methods(neptune_mock):
      logger, run_instance_mock, _ = _get_logger_with_mocks(
          api_key="test", project="project"
      )
  
      logger.experiment["key1"].log(torch.ones(1))
      run_instance_mock.__getitem__.assert_called_once_with("key1")
      run_instance_mock.__getitem__().log.assert_called_once_with(
          torch.ones(1)
      )
  
imports: import os
  import pickle
  from collections import namedtuple
  from unittest import mock
  from unittest.mock import MagicMock, call
  import lightning.pytorch
  import pytest
  import torch
  from lightning.pytorch import Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.loggers import NeptuneLogger
label_desc: Use image node_id 9 for calling a global function with example usage: test_neptune_additional_methods(neptune_mock) without return types