@Test public void positives() { assertThat(new PageNumbersListAdapter("1").getPageNumbers(), contains(1)); assertThat(new PageNumbersListAdapter("1,3,6").getPageNumbers(), contains(1, 3, 6)); assertThat(new PageNumbersListAdapter(" 1, 3, 6 ").getPageNumbers(), contains(1, 3, 6)); }
public List<Integer> getPageNumbers() { return pageNumbers; }
PageNumbersListAdapter { public List<Integer> getPageNumbers() { return pageNumbers; } }
PageNumbersListAdapter { public List<Integer> getPageNumbers() { return pageNumbers; } PageNumbersListAdapter(String rawString); }
PageNumbersListAdapter { public List<Integer> getPageNumbers() { return pageNumbers; } PageNumbersListAdapter(String rawString); List<Integer> getPageNumbers(); }
PageNumbersListAdapter { public List<Integer> getPageNumbers() { return pageNumbers; } PageNumbersListAdapter(String rawString); List<Integer> getPageNumbers();  }