    @Test
    public void getDetailedReport() {

        PagedResult detailedReport = jToggl.getDetailedReport((PagedReportsParameter) new PagedReportsParameter(workspace.getId(), "jtoggl-integration-test")
                .setSince("2011-11-15")
                .setUntil("2011-11-15")
                .setProjectIds(Collections.singleton(project.getId())));

        Optional<TimeEntry> entry = detailedReport.getEntries().stream().filter(e -> e.getDescription().equals("From JUnit Test")).findFirst();
        Assert.assertTrue(entry.isPresent());

        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm");
        Assert.assertEquals(formatter.format(timeEntry.getStart()), formatter.format(entry.get().getStart()));
        Assert.assertEquals(formatter.format(timeEntry.getStop()), formatter.format(entry.get().getStop()));
        Assert.assertEquals(timeEntry.getId(), entry.get().getId());
    }