Buggy code:
public class CSVFormatTest { private static void assertNotEquals ( final Object right , final Object left ) { } private static CSVFormat copy ( final CSVFormat format ) { } @ Test ( expected = IllegalStateException . class ) public void testDelimiterSameAsCommentStartThrowsException ( ) { } @ Test ( expected = IllegalStateException . class ) public void testDelimiterSameAsEscapeThrowsException ( ) { } <START_BUG> @ Test ( expected = IllegalStateException . class ) <END_BUG> public void testDuplicateHeaderElements ( ) { DEFAULT . withHeader ( "A" , "A" ) . validate ( ) ; } @ Test public void testEquals ( ) { } @ Test public void testEqualsCommentStart ( ) { } @ Test public void testEqualsDelimiter ( ) { } @ Test public void testEqualsEscape ( ) { } @ Test public void testEqualsHeader ( ) { } @ Test public void testEqualsIgnoreEmptyLines ( ) { } @ Test public void testEqualsIgnoreSurroundingSpaces ( ) { } @ Test public void testEqualsQuoteChar ( ) { } @ Test public void testEqualsQuotePolicy ( ) { } @ Test public void testEqualsRecordSeparator ( ) { } @ Test public void testEqualsNullString ( ) { } @ Test public void testEqualsSkipHeaderRecord ( ) { } @ Test ( expected = IllegalStateException . class ) public void testEscapeSameAsCommentStartThrowsException ( ) { } @ Test ( expected = IllegalStateException . class ) public void testEscapeSameAsCommentStartThrowsExceptionForWrapperType ( ) { } @ Test public void testFormat ( ) { } @ Test public void testGetHeader ( ) throws Exception { } @ Test public void testNullRecordSeparatorCsv106 ( ) { } @ Test ( expected = IllegalStateException . class ) public void testQuoteCharSameAsCommentStartThrowsException ( ) { } @ Test ( expected = IllegalStateException . class ) public void testQuoteCharSameAsCommentStartThrowsExceptionForWrapperType ( ) { } @ Test ( expected = IllegalStateException . class ) public void testQuoteCharSameAsDelimiterThrowsException ( ) { } @ Test ( expected = IllegalStateException . class ) public void testQuotePolicyNoneWithoutEscapeThrowsException ( ) { } @ Test public void testRFC4180 ( ) { } @ SuppressWarnings ( "boxing" ) @ Test public void testSerialization ( ) throws Exception { } @ Test public void testWithCommentStart ( ) throws Exception { } @ Test ( expected = IllegalArgumentException . class ) public void testWithCommentStartCRThrowsException ( ) { } @ Test public void testWithDelimiter ( ) throws Exception { } @ Test ( expected = IllegalArgumentException . class ) public void testWithDelimiterLFThrowsException ( ) { } @ Test public void testWithEscape ( ) throws Exception { } @ Test ( expected = IllegalArgumentException . class ) public void testWithEscapeCRThrowsExceptions ( ) { } @ Test public void testWithHeader ( ) throws Exception { } @ Test public void testWithIgnoreEmptyLines ( ) throws Exception { } @ Test public void testWithIgnoreSurround ( ) throws Exception { } @ Test public void testWithNullString ( ) throws Exception { } @ Test public void testWithQuoteChar ( ) throws Exception { } @ Test ( expected = IllegalArgumentException . class ) public void testWithQuoteLFThrowsException ( ) { } @ Test public void testWithQuotePolicy ( ) throws Exception { } @ Test public void testWithRecordSeparator ( ) throws Exception { } }

Fix:
@ Test ( expected = IllegalArgumentException . class )