fakeNavigationResultKey

inline fun <R : Parcelable> fakeNavigationResultKey(): NavigationResultRequest.Key<R>

Creates a NavigationResultRequest.Key for testing purposes. This should only be used for testing the result sender that retrieves a key as part of its argument.

To test the result receiver use a real key from a request obtained by ResultNavigator.registerForNavigationResult.