code: def test_random_apply_probability_not_occured_evaluation(self):
      transform_mock = mock.MagicMock(
          name="MockTransform", spec=T.Augmentation
      )
      image_mock = mock.MagicMock(name="MockImage")
      random_apply = T.RandomApply(transform_mock, prob=0.001)
  
      with mock.patch.object(
          random_apply, "_rand_range", return_value=0.9
      ):
          transform = random_apply.get_transform(image_mock)
      transform_mock.get_transform.assert_not_called()
      self.assertIsInstance(transform, T.NoOpTransform)
  
imports: import logging
  import numpy
  import unittest
  from unittest import mock
  import torch
  from PIL import Image, ImageOps
  from torch.nn import functional
  from detectron2.config import get_cfg
  from detectron2.data import detection_utils
  from detectron2.data import transforms
  from detectron2.utils.logger import setup_logger
label_desc: Use image node_id 9 for calling the TestTransforms obj's underlying member method code with example usage: obj.test_random_apply_probability_not_occured_evaluation() without return types