BAEL-1105: Apache Commons CSV, Changed name of testcase

This commit is contained in:
Mohit Sinha 2017-08-15 15:28:51 +05:30
parent 43d9bf5655
commit 299be4a629

View File

@ -41,7 +41,7 @@ public class CSVReaderWriterTest {
} }
@Test @Test
public void givenAuthorBookMap_whenProcessed_thenFileCreatedAsExpected() throws IOException { public void givenAuthorBookMap_whenWrittenToStream_thenOutputStreamAsExpected() throws IOException {
StringWriter sw = new StringWriter(); StringWriter sw = new StringWriter();
try (final CSVPrinter printer = new CSVPrinter(sw, CSVFormat.DEFAULT.withHeader(HEADERS))) { try (final CSVPrinter printer = new CSVPrinter(sw, CSVFormat.DEFAULT.withHeader(HEADERS))) {
AUTHOR_BOOK_MAP.forEach((author, title) -> { AUTHOR_BOOK_MAP.forEach((author, title) -> {