@Test
public void enumeration() throws Exception {

    assertEquals("'First'", builder.enumeration(singletonList("first"), "and"));
    assertEquals("'First' or 'Second'", builder.enumeration(asList("first", "second"), "or"));
    assertEquals("'First', 'Second' and / or 'Third'",
            builder.enumeration(asList("first", "second", "third"), "and / or"));
}