	@Test
	public void testToListCollectionOfT() {

		assertThat(CollectionHelper.toList((List<String>) null)).isNull();
		assertThat(CollectionHelper.toList(Arrays.asList(1))).isInstanceOf(List.class)
				.containsExactly(1);
		assertThat(CollectionHelper.toList(Arrays.asList(1, 2, 3)))
				.isInstanceOf(List.class).containsExactly(1, 2, 3);

		Set<Long> set = new HashSet<>();
		set.add(11L);
		set.add(22L);
		assertThat(CollectionHelper.toList(set)).isInstanceOf(List.class)
				.containsOnly(11L, 22L);
	}