// Path: src/main/java/com/j256/simplecsv/processor/ParseError.java
// public enum ErrorType {
// 	/** no error */
// 	NONE("none"),
// 	/** column is in an invalid format */
// 	INVALID_FORMAT("invalid format"),
// 	/** column seems to be truncated */
// 	TRUNCATED_COLUMN("truncated column"),
// 	/** no header line read */
// 	NO_HEADER("no header line"),
// 	/** header line seems to be invalid */
// 	INVALID_HEADER("no valid header line"),
// 	/** null value for this field is invalid */
// 	INVALID_NULL("null value is invalid"),
// 	/** field must not be blank and no data specified */
// 	MUST_NOT_BE_BLANK("field must not be blank"),
// 	/** internal error was encountered */
// 	INTERNAL_ERROR("internal error"),
// 	/** line seems to be truncated */
// 	TRUNCATED_LINE("line is truncated"),
// 	/** line seems to have extra columns */
// 	TOO_MANY_COLUMNS("too many columns"),
// 	/** entity validation failed */
// 	INVALID_ENTITY("entity validation failed"),
// 	// end
// 	;
// 
// 	private String typeString;
// 
// 	private ErrorType(String typeString) {
// 		this.typeString = typeString;
// 	}
// 
// 	public String getTypeMessage() {
// 		return typeString;
// 	}
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.j256.simplecsv.processor.ParseError.ErrorType;
		parseError.reset();
		assertEquals(ErrorType.NONE, parseError.getErrorType());
		assertNull(parseError.getMessage());
		assertNull(parseError.getColumnName());
		assertNull(parseError.getColumnValue());
		assertNull(parseError.getColumnType());
		assertNull(parseError.getLine());
		assertEquals(0, parseError.getLineNumber());
		assertEquals(0, parseError.getLinePos());
		assertFalse(parseError.isError());
	}

	@Test
	public void testToString() {
		ParseError parseError = new ParseError();
		ErrorType errorType = ErrorType.INVALID_FORMAT;
		parseError.setErrorType(errorType);
		assertEquals(errorType.getTypeMessage(), parseError.toString());

		String msg = "eopfjewpfjwef";
		parseError.setMessage(msg);
		String toString = parseError.toString();
		assertTrue(toString.contains(errorType.getTypeMessage()));
		assertTrue(toString.contains(msg));
	}

	@Test
	public void testFullString() {
		ParseError parseError = new ParseError();
		String msg = "jrgrpjegrjpoergrpjoe";
// Path: src/main/java/com/j256/simplecsv/processor/ParseError.java
// public enum ErrorType {
// 	/** no error */
// 	NONE("none"),
// 	/** column is in an invalid format */
// 	INVALID_FORMAT("invalid format"),
// 	/** column seems to be truncated */
// 	TRUNCATED_COLUMN("truncated column"),
// 	/** no header line read */
// 	NO_HEADER("no header line"),
// 	/** header line seems to be invalid */
// 	INVALID_HEADER("no valid header line"),
// 	/** null value for this field is invalid */
// 	INVALID_NULL("null value is invalid"),
// 	/** field must not be blank and no data specified */
// 	MUST_NOT_BE_BLANK("field must not be blank"),
// 	/** internal error was encountered */
// 	INTERNAL_ERROR("internal error"),
// 	/** line seems to be truncated */
// 	TRUNCATED_LINE("line is truncated"),
// 	/** line seems to have extra columns */
// 	TOO_MANY_COLUMNS("too many columns"),
// 	/** entity validation failed */
// 	INVALID_ENTITY("entity validation failed"),
// 	// end
// 	;
// 
// 	private String typeString;
// 
// 	private ErrorType(String typeString) {
// 		this.typeString = typeString;
// 	}
// 
// 	public String getTypeMessage() {
// 		return typeString;
// 	}
// }


// Path: src/test/java/com/j256/simplecsv/processor/ParseErrorTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.j256.simplecsv.processor.ParseError.ErrorType;

		parseError.reset();
		assertEquals(ErrorType.NONE, parseError.getErrorType());
		assertNull(parseError.getMessage());
		assertNull(parseError.getColumnName());
		assertNull(parseError.getColumnValue());
		assertNull(parseError.getColumnType());
		assertNull(parseError.getLine());
		assertEquals(0, parseError.getLineNumber());
		assertEquals(0, parseError.getLinePos());
		assertFalse(parseError.isError());
	}

	@Test
	public void testToString() {
		ParseError parseError = new ParseError();
		ErrorType errorType = ErrorType.INVALID_FORMAT;
		parseError.setErrorType(errorType);
		assertEquals(errorType.getTypeMessage(), parseError.toString());

		String msg = "eopfjewpfjwef";
		parseError.setMessage(msg);
		String toString = parseError.toString();
		assertTrue(toString.contains(errorType.getTypeMessage()));
		assertTrue(toString.contains(msg));
	}

	@Test
	public void testFullString() {
		ParseError parseError = new ParseError();
		String msg = "jrgrpjegrjpoergrpjoe";
		parseError.setMessage(msg);