code: def data_with_names(self):
      (event, time), expected = self.get_surv_arrays(
          "death", "survival_time"
      )
  
      inputs = (event.astype(bool), time)
      kwargs = {"name_time": "survival_time", "name_event": "death"}
      return inputs, kwargs, expected, does_not_raise()
  
imports: from collections import OrderedDict
  from contextlib import nullcontext
  import numpy
  from numpy.testing import assert_array_equal
  import pandas
  import pandas.testing
  import pytest
  from sksurv.testing import FixtureParameterFactory
  from sksurv.util import Surv, _PropertyAvailableIfDescriptor, property_available_if, safe_concat
label_desc: Use image node_id 4 for calling the SurvArrayCases obj's underlying member method code with example usage: obj.data_with_names() and returns: inputs,  kwargs,  expected,  does_not_raise