assertTrue(delete.isSuccessful());
}
@Test
public void testIfUserCanGetDetailsForPlaybackQuery() {
HistoricsQuery get = datasift.historics().get(id).sync();
assertTrue(get.isSuccessful());
assertEquals(get.getId(), id);
assertEquals(get.getDefinitationId(), definition_id);
assertEquals(get.getName(), name);
assertEquals(get.getStart(), start.getMillis());
assertEquals(get.getEnd(), end.getMillis());
assertEquals(get.getCreatedAt(), created_at);
assertEquals(get.getStatus(), status_g);
assertEquals(get.getProgress(), progress, 0.00000001);
assertEquals(get.getFeed(), feed);
assertEquals(get.getSources(), source_g);
assertEquals(get.getSample(), sample, 0.00000001);
for (HistoricsQuery.Chunk chunk : get.getChunks()) {
assertEquals(chunk.getEstimatedCompletion(), estimatedCompletion);
assertEquals(chunk.getEndTime(), end.getMillis());
assertEquals(chunk.getStartTime(), start.getMillis());
assertEquals(chunk.getProgress(), progress, 0.00000001);
assertEquals(chunk.getStatus(), status_g);