def METHOD_NAME(
    self, trace_transaction_mock: MagicMock
):
    random_address = Account.create().address
    InternalTxFactory(
        contract_address=random_address, ethereum_tx__status=1, trace_address=""
    )
    safe_creation_info = self.safe_service.get_safe_creation_info(random_address)
    self.assertIsInstance(safe_creation_info, SafeCreationInfo)
    self.assertEqual(
        safe_creation_info.master_copy, "0x8942595A2dC5181Df0465AF0D7be08c8f23C93af"
    )
    self.assertTrue(safe_creation_info.setup_data)
    trace_transaction_mock.return_value = []
    safe_creation_info = self.safe_service.get_safe_creation_info(random_address)
    self.assertIsNone(safe_creation_info.master_copy)
    self.assertIsNone(safe_creation_info.setup_data)