static fun create(): TestLifecycleOwnerstatic fun create(): TestLifecycleOwner
Default creator. Creates and maintains its own LifecycleRegistry under the hood.
static fun create(registry: LifecycleRegistry): TestLifecycleOwnerstatic fun create(registry: LifecycleRegistry): TestLifecycleOwner
registry - an optional custom LifecycleRegistry if you want to provide one. If null, a default implementation will be created and maintained under the hood.