@Test
public void testPaginationFitsLeft(){

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