@Test
public void itThrowsTheCorrectExceptionWhenUnwrappingErr() throws Exception {

  assertThatExceptionOfType(RuntimeException.class)
      .isThrownBy(() -> OK_RESULT.unwrapErrOrElseThrow(ok -> new RuntimeException(ok)))
      .withMessage(SAMPLE_STRING);
}