TODO: this is just a generated example
Added in version 2.3.0
Exception technicalFailure = new Exception();
HappyPath<Happy, Sad> happyPath = HappyPath.technicalFailure(technicalFailure);
assertThat(happyPath.getTechnicalFailure()).isEqualTo(technicalFailure);
This produces a happy path biased view of an underlying technical failure case.