name

abstract fun name(): String

The name of the bean to spy. If not specified the name will either be generated or, if the spy is for an existing bean, the existing name will be used.

Return

the name of the bean