TestOptionX<T> extension

Extension on Option type to use in tests.

on
  • Option<T>

Methods

getOrFailTest() → T
Returns the value or makes the test fail.