@Test
public void testValidOptions_list() throws Exception {

	assertThatThrownBy(() -> ConfigurationOption.integersOption()
			.key("test.list")
			.dynamic(true)
			.addValidOption(Arrays.asList(1, 2))
			.buildWithDefault(Collections.singleton(1)))
			.isInstanceOf(UnsupportedOperationException.class);
}