// assertEquals(create.getCreatedAt().getMillis(), createdAt.getMillis());
}
@Test
public void testIfUserCanGetHistoricsPreview() {
HistoricsPreviewData get = datasift.preview().get(id).sync();
assertTrue(get.isSuccessful());
assertEquals(get.getId(), id);
assertEquals(get.getName(), name);
assertEquals(get.getProgress(), progress);
assertEquals(get.getStatus(), status);
assertEquals(get.getFeeds(), feeds);
assertEquals(get.getSample(), sample);
assertEquals(get.getStart(), start);
assertEquals(get.getEnd(), end);
assertEquals(get.getCreated_at(), createdAt.getMillis());
assertEquals(get.getUser(), user);
assertEquals(get.getParameters(), parameters);
assertEquals(get.getHash(), hash);
for (HistoricsPreviewData.DataEntry data : get.getData()) {
assertEquals(data.getAnalysis(), analysis);
assertEquals(data.getOutput(), output);
assertEquals(data.getTarget(), target);
assertEquals(data.getThreshold(), threshold);
}