@Test
    public void testStartOfDay() throws ParseException {
        Date date = dateService.getStartOfDay(dateFormat.parse("19.08.2014 20:47:54.345"));
        assertEquals(dateFormat.parse("19.08.2014 00:00:00.000"), date);
    }