TODO: this is just a generated example
Added in version 10.3.0
TechnicalFailure<Happy, Sad> technicalFailure = TechnicalFailure.technicalFailure(new Exception());
assertThat(technicalFailure.isTechnicalFailure()).isTrue();
HappyPath<Happy, Sad> happyPath = HappyPath.happyPath(new Happy());
assertThat(happyPath.isTechnicalFailure()).isFalse();