@Test public void isExpiryDataValid_whenDateIsSameCalendarYearButEarlierMonth_returnsFalse() { Calendar testCalendar = Calendar.getInstance(); testCalendar.set(Calendar.YEAR, 2018); testCalendar.set(Calendar.MONTH, Calendar.MARCH); assertFalse(DateUtils.isExpiryDataValid(1, 2018, testCalendar)); }
static boolean isExpiryDataValid(int expiryMonth, int expiryYear) { return isExpiryDataValid(expiryMonth, expiryYear, Calendar.getInstance()); }
DateUtils { static boolean isExpiryDataValid(int expiryMonth, int expiryYear) { return isExpiryDataValid(expiryMonth, expiryYear, Calendar.getInstance()); } }
DateUtils { static boolean isExpiryDataValid(int expiryMonth, int expiryYear) { return isExpiryDataValid(expiryMonth, expiryYear, Calendar.getInstance()); }  }
DateUtils { static boolean isExpiryDataValid(int expiryMonth, int expiryYear) { return isExpiryDataValid(expiryMonth, expiryYear, Calendar.getInstance()); }   }
DateUtils { static boolean isExpiryDataValid(int expiryMonth, int expiryYear) { return isExpiryDataValid(expiryMonth, expiryYear, Calendar.getInstance()); }    }