From fd35d741b7629eb73f60254e50feb2c8199cf618 Mon Sep 17 00:00:00 2001 From: Gang Date: Wed, 8 Jan 2020 20:07:32 -0700 Subject: [PATCH] BAEL-3656 Fix typos in the unit test names. --- .../baeldung/poi/excel/ExcelCellFormatterUnitTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelCellFormatterUnitTest.java b/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelCellFormatterUnitTest.java index adedf951d6..d9f96ee93c 100644 --- a/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelCellFormatterUnitTest.java +++ b/apache-poi/src/test/java/com/baeldung/poi/excel/ExcelCellFormatterUnitTest.java @@ -29,7 +29,7 @@ public class ExcelCellFormatterUnitTest { } @Test - public void gvieStringCell_whenGetCellStringValue_thenReturnStringValue() throws IOException { + public void givenStringCell_whenGetCellStringValue_thenReturnStringValue() throws IOException { Workbook workbook = new XSSFWorkbook(fileLocation); Sheet sheet = workbook.getSheetAt(0); Row row = sheet.getRow(0); @@ -40,7 +40,7 @@ public class ExcelCellFormatterUnitTest { } @Test - public void gvieBooleanCell_whenGetCellStringValue_thenReturnBooleanStringValue() throws IOException { + public void givenBooleanCell_whenGetCellStringValue_thenReturnBooleanStringValue() throws IOException { Workbook workbook = new XSSFWorkbook(fileLocation); Sheet sheet = workbook.getSheetAt(0); Row row = sheet.getRow(0); @@ -51,7 +51,7 @@ public class ExcelCellFormatterUnitTest { } @Test - public void gvieNumericCell_whenGetCellStringValue_thenReturnNumericStringValue() throws IOException { + public void givenNumericCell_whenGetCellStringValue_thenReturnNumericStringValue() throws IOException { Workbook workbook = new XSSFWorkbook(fileLocation); Sheet sheet = workbook.getSheetAt(0); Row row = sheet.getRow(0); @@ -63,7 +63,7 @@ public class ExcelCellFormatterUnitTest { } @Test - public void gvieFormualCell_whenGetCellStringValue_thenReturnOriginalFormulaString() throws IOException { + public void givenFormualCell_whenGetCellStringValue_thenReturnOriginalFormulaString() throws IOException { Workbook workbook = new XSSFWorkbook(fileLocation); Sheet sheet = workbook.getSheetAt(0); Row row = sheet.getRow(0); @@ -74,7 +74,7 @@ public class ExcelCellFormatterUnitTest { } @Test - public void gvieFormualCell_whenGetCellStringValueForFormula_thenReturnOriginalFormulatring() throws IOException { + public void givenFormualCell_whenGetCellStringValueForFormula_thenReturnOriginalFormulatring() throws IOException { Workbook workbook = new XSSFWorkbook(fileLocation); Sheet sheet = workbook.getSheetAt(0); Row row = sheet.getRow(0);