@Test
public void testScrollRightNotFitSize(){

    Map<String,Object> stringObjectMap = paginationBuilderService.buildPages(9, 12, 4);
    Integer[] pages = (Integer[]) stringObjectMap.get("pages");
    Integer selected = (Integer) stringObjectMap.get("selected");
    Assert.assertEquals(9,selected, 0);
    Assert.assertEquals(9, pages.length);
    // 1,2,3,| 4,5,6,7,8,[9],10,11,12 |
    testPages(pages,
            new Integer[]{
                  4,5,6,7,8,9,10,11,12
            });
}