Add test on failureOrigin
enum conversion
#20101
Merged
failureOrigin
enum conversion
#20101