#fixed code
                             @Test
	public void testGenerateNewCsvFile() throws SimpleRelationalInputGenerationException, IOException {
		// Setup
		SimpleRelationalInput csv = generator.generateNewCopy();
		
		// Check result
		// The csv should contain both lines and iterate through them with next.
		assertEquals(csvFileFixture.expectedFirstLine(), csv.next());
		assertEquals(csvFileFixture.expectedSecondLine(), csv.next());
		// A new CsvFile should iterate from the start.
		SimpleRelationalInput csv2 = generator.generateNewCopy();
		assertEquals(csvFileFixture.expectedFirstLine(), csv2.next());
		assertEquals(csvFileFixture.expectedSecondLine(), csv2.next());		
	}
#vulnerable code 
                             @Test
	public void testGenerateNewCsvFile() throws IOException {
		// Setup
		SimpleRelationalInput csv = generator.generateNewCsvFile();
		
		// Check result
		// The csv should contain both lines and iterate through them with next.
		assertEquals(csvFileFixture.expectedFirstLine(), csv.next());
		assertEquals(csvFileFixture.expectedSecondLine(), csv.next());
		// A new CsvFile should iterate from the start.
		SimpleRelationalInput csv2 = generator.generateNewCsvFile();
		assertEquals(csvFileFixture.expectedFirstLine(), csv2.next());
		assertEquals(csvFileFixture.expectedSecondLine(), csv2.next());		
	} 
                            #location 13 
                            #vulnerability type RESOURCE_LEAK