@Test
public void testIncludeFieldsErrorWhenExcludingAll() {

	CsvReader reader = getCsvReader();
	
	try {
		reader.includeFields(false, false, false, false, false, false);
		Assert.fail("The reader accepted a fields configuration that excludes all fields.");
	}
	catch (IllegalArgumentException e) {
		// all good
	}
	
	try {
		reader.includeFields(0);
		Assert.fail("The reader accepted a fields configuration that excludes all fields.");
	}
	catch (IllegalArgumentException e) {
		// all good
	}
	
	try {
		reader.includeFields("ffffffffffffff");
		Assert.fail("The reader accepted a fields configuration that excludes all fields.");
	}
	catch (IllegalArgumentException e) {
		// all good
	}
	
	try {
		reader.includeFields("00000000000000000");
		Assert.fail("The reader accepted a fields configuration that excludes all fields.");
	}
	catch (IllegalArgumentException e) {
		// all good
	}
}