source: class ResultTest {
  
    private static final String SAMPLE_STRING;
    private static final Result<String, SampleError> OK_RESULT;
    private static final Result<String, SampleError> ERR_RESULT;
  
    @Test(expected = IllegalStateException.class)
    public void itThrowsWhenUnwrapIsCalledOnErr() throws Exception {
  
target:     ERR_RESULT.unwrapOrElseThrow();
    }
  
  }