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