Refactoring Code

This commit is contained in:
Nikhil Khatwani 2016-11-14 19:06:29 +05:30
parent 710a932f26
commit 2385fe04b1
1 changed files with 2 additions and 1 deletions

View File

@ -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);