예제 #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());
  }