Пример #1
0
  @Test
  public void setFetchCountExceedsUpperBound() {
    int originalFetchCount = timeline.getFetchCount();

    timeline.setFetchCount(Timeline.FETCH_COUNT_UPPER_BOUND + 1);

    assertEquals(originalFetchCount, timeline.getFetchCount());
  }
Пример #2
0
  @Test
  public void setFetchCount() {
    timeline.setFetchCount(NEW_FETCH_COUNT);

    assertEquals(NEW_FETCH_COUNT, timeline.getFetchCount());
  }