@Test
void listIndent() throws IOException {

    ConfigNode root = new ConfigNode(null, null, null);
    root.addNode("Test").set(Arrays.asList("First", "Second", "Third"));
    Path out = tempFolder.resolve("listIndent.yml");
    new ConfigWriter(out).write(root);
    List<String> writtenLines = FileResource.lines(out.toFile());
    List<String> expected = Arrays.asList(
            "Test:",
            "  - First",
            "  - Second",
            "  - Third"
    );
    assertEquals(expected, writtenLines);
}