Refactoring Code
This commit is contained in:
parent
710a932f26
commit
2385fe04b1
|
@ -119,7 +119,8 @@ public class StringConversionTest {
|
||||||
int afterConvCalendarDay = 03;
|
int afterConvCalendarDay = 03;
|
||||||
Month afterConvCalendarMonth = Month.DECEMBER;
|
Month afterConvCalendarMonth = Month.DECEMBER;
|
||||||
int afterConvCalendarYear = 2007;
|
int afterConvCalendarYear = 2007;
|
||||||
LocalDateTime afterConvDate = new UseLocalDateTime().getLocalDateTimeUsingParseMethod(str);
|
LocalDateTime afterConvDate
|
||||||
|
= new UseLocalDateTime().getLocalDateTimeUsingParseMethod(str);
|
||||||
|
|
||||||
assertEquals(afterConvDate.getDayOfMonth(), afterConvCalendarDay);
|
assertEquals(afterConvDate.getDayOfMonth(), afterConvCalendarDay);
|
||||||
assertEquals(afterConvDate.getMonth(), afterConvCalendarMonth);
|
assertEquals(afterConvDate.getMonth(), afterConvCalendarMonth);
|
||||||
|
|
Loading…
Reference in New Issue