createPropertyExtractor
fun <T> createPropertyExtractor(propertyName: String, extractor: NodeInfoTestHelper.PropertyExtractor<T>, formatter: NodeInfoTestHelper.PropertyFormatter<T> = PropertyFormatter { it.toString() }): Function<View, String>
Creates an extractor function that extracts a property from NodeInfo and formats it for debug output.
Return
a function that returns a debug string describing the property value
Parameters
propertyName
the name of the property (used in output messages)
extractor
function to extract the property from NodeInfo
formatter
optional function to format the value for display (defaults to toString())