@Test public void setFetchCountExceedsUpperBound() { int originalFetchCount = timeline.getFetchCount(); timeline.setFetchCount(Timeline.FETCH_COUNT_UPPER_BOUND + 1); assertEquals(originalFetchCount, timeline.getFetchCount()); }
@Test public void initialState() { assertTrue(timeline.getFetchCount() > 0); }
@Test public void setFetchCount() { timeline.setFetchCount(NEW_FETCH_COUNT); assertEquals(NEW_FETCH_COUNT, timeline.getFetchCount()); }
@After public void tearDown() { timeline.dispose(); }