@Test public void isExpiryDataValid_whenYearIsInvalid_returnsFalse() { assertFalse(DateUtils.isExpiryDataValid(5, -1)); assertFalse("Should not validate years beyond 9980", DateUtils.isExpiryDataValid(5, 9985)); }
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()); }    }