/**
 * 
 */
package com.github.ansell.csvsum;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;

import joptsimple.OptionException;

/**
 * Tests for {@link CSVSummariser}.
 * 
 * @author Peter Ansell p_ansell@yahoo.com
 */
public class CSVSummariserTest {

	@Rule
	public ExpectedException thrown = ExpectedException.none();

	/**
	 * Test method for
	 * {@link com.github.ansell.csvsum.CSVSummariser#main(java.lang.String[])}.
	 */
	@Test
	public final void testMainNoArgs() throws Exception {
		thrown.expect(OptionException.class);
		CSVSummariser.main();
	}

}

@@ -680,10 +680,213 @@
 ();%0A%09%7D%0A%0A
+%09/**%0A%09 * Test method for%0A%09 * %7B@link com.github.ansell.csvsum.CSVSummariser#main(java.lang.String%5B%5D)%7D.%0A%09 */%0A%09@Test%0A%09public final void testMainHelp() throws Exception %7B%0A%09%09CSVSummariser.main(%22--help%22);%0A%09%7D%0A%0A
 %7D%0A

Add test for CSVSummariser help