@Test
public void testToString() {

  TransformingVisitor<String> subject = new TransformingVisitor<String>() {
    @Override
    public String getResult() {
      return "expected";
    }
  };
  assertEquals("expected", subject.toString());
}