public void testFilterCSVHeaders() throws IOException
{
generateTestFileHeadings(true);
SegregateCSV norm = new SegregateCSV();
norm.getTargets().add(new SegregateTargetPercent(OUTPUT1_NAME, 75));
norm.getTargets().add(new SegregateTargetPercent(OUTPUT2_NAME, 25));
norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
norm.process();
BufferedReader tr = new BufferedReader(new FileReader(OUTPUT1_NAME));
Assert.assertEquals("\"a\",\"b\"",tr.readLine());