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 ( ) { } @ Test ( expected = IllegalArgumentException . class ) public void testDuplicateHeaderElements ( ) { } @ 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 { final ByteArrayOutputStream out = new ByteArrayOutputStream ( ) ; final ObjectOutputStream oos = new ObjectOutputStream ( out ) ; oos . writeObject ( DEFAULT ) ; oos . flush ( ) ; oos . close ( ) ; final ObjectInputStream in = new ObjectInputStream ( new ByteArrayInputStream ( out . toByteArray ( ) ) ) ; final CSVFormat format = ( ( CSVFormat ) ( in . readObject ( ) ) ) ; assertNotNull ( format ) ; assertEquals ( "delimiter" , DEFAULT . getDelimiter ( ) , format . getDelimiter ( ) ) ; assertEquals ( "encapsulator" , DEFAULT . getQuoteChar ( ) , format . getQuoteChar ( ) ) ; assertEquals ( "comment<seq2seq4repair_space>start" , DEFAULT . getCommentStart ( ) , format . getCommentStart ( ) ) ; <START_BUG> assertEquals ( "line<seq2seq4repair_space>separator" , DEFAULT . getRecordSeparator ( ) , format . getRecordSeparator ( ) ) ; <END_BUG> assertEquals ( "escape" , DEFAULT . getEscape ( ) , format . getEscape ( ) ) ; assertEquals ( "trim" , DEFAULT . getIgnoreSurroundingSpaces ( ) , format . getIgnoreSurroundingSpaces ( ) ) ; assertEquals ( "empty<seq2seq4repair_space>lines" , DEFAULT . getIgnoreEmptyLines ( ) , format . getIgnoreEmptyLines ( ) ) ; } @ 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:
assertEquals ( "record<seq2seq4repair_space>separator" , DEFAULT . getRecordSeparator ( ) , format . getRecordSeparator ( ) ) ;