@Test public void isLeft_A$() throws Exception { Either<String, Integer> target = Left.apply("foo"); boolean actual = target.isLeft(); boolean expected = true; assertThat(actual, is(equalTo(expected))); }