@Test
public void fillEmptyDaysWithZero() {

    float someValue = 5;
    List<Entry> entries = new ArrayList<>(Arrays.asList(
            new Entry(2, someValue),
            new Entry(5, someValue),
            new Entry(7, someValue)
    ));
    when(groupingController.getSummationByDateAsGraphEntries(trip)).thenReturn(Single.just(entries));
    List<Entry> expectedEntries = new ArrayList<>(Arrays.asList(
            new Entry(2, someValue),
            new Entry(3, 0),
            new Entry(4, 0),
            new Entry(5, someValue),
            new Entry(6, 0),
            new Entry(7, someValue)
    ));
    GraphUiIndicator graphUiIndicator = interactor.getSummationByDate(trip).blockingGet();
    List<? extends BaseEntry> resultEntries = graphUiIndicator.getEntries();
    for (int i = 0; i < resultEntries.size(); i++) {
        Entry e1 = (Entry) resultEntries.get(i);
        Entry e2 = expectedEntries.get(i);
        assertTrue(e1.getX() == e2.getX() && e1.getY() == e2.getY());
    }
    assertEquals(expectedEntries.size(), resultEntries.size());
    assertEquals(GraphUiIndicator.GraphType.SummationByDate, graphUiIndicator.getGraphType());
}