@Test
public void serializesRepeatedButNotRecursiveValues() {

    RepeatedValues a = new RepeatedValues();
    List<RepeatedValues> repeatedValues = ListUtils.of(a, a, a);
    NodeMapper mapper = new NodeMapper();
    Node result = mapper.serialize(repeatedValues);
    Node.assertEquals(result, Node.parse("[ {\"foo\": \"foo\"}, {\"foo\": \"foo\"}, {\"foo\": \"foo\"} ]"));
}