void (String message, String expected, Iterable<String> sequence) { assertEquals("1. " + message, expected, traverse(sequence)); assertEquals("2. " + message, expected, traverse(sequence)); assertEquals("3. " + message, expected, traverse(sequence)); }