HappyPath<Happy, Sad> happyPath(Happy)

TODO: this is just a generated example

javadoc usage tests

Added in version 1.0.0

Happy case happy path

Happy happy = new Happy();

HappyPath<Happy, Sad> happyPath = HappyPath.happyPath(happy);

assertThat(happyPath.getHappy()).isEqualTo(happy);

This produces a happy path biased view of an underlying happy case.