@Test
public void shouldReturnLastDayOfMonth(){

	final Date testDate = new GregorianCalendar(2019, Calendar.JULY, 17).getTime();
	
	final Date result = DateUtils.getLastDayOfMonth(testDate);
	
	Date expectedDate = new GregorianCalendar(2019, Calendar.JULY, 31, 23, 59, 59).getTime();
	Calendar calendar = Calendar.getInstance();
	calendar.setTime(expectedDate);
	calendar.set(Calendar.MILLISECOND, calendar.getMaximum(Calendar.MILLISECOND));
	expectedDate = calendar.getTime();
	assertThat(result, is(expectedDate));
}