pageManager.updatePage(grid);
ContentPage page = layoutManager.newContentPage(grid, null, null);
rc.setPage(page);
ContentFragmentBean cfb = pageLayoutService.moveContentFragment(request, null, "dp-0"+CFIS+"dp-00", null, null, "1", "0", null, null, null, null, null);
assertEquals(cfb.getId(), "dp-0"+CFIS+"dp-00");
assertEquals(cfb.getProperties().get("column"), "0");
assertEquals(cfb.getProperties().get("row"), "1");
cfb = pageLayoutService.moveContentFragment(request, null, "dp-0"+CFIS+"dp-02", null, "right", null, null, null, null, null, null, null);
assertEquals(cfb.getId(), "dp-0"+CFIS+"dp-02");
assertEquals(cfb.getProperties().get("column"), "1");
assertEquals(cfb.getProperties().get("row"), "2");
cfb = pageLayoutService.moveContentFragment(request, null, "dp-0"+CFIS+"dp-02", null, "down", null, null, null, null, null, null, null);
assertEquals(cfb.getId(), "dp-0"+CFIS+"dp-02");
assertEquals(cfb.getProperties().get("column"), "1");
assertEquals(cfb.getProperties().get("row"), "3");
cfb = pageLayoutService.moveContentFragment(request, null, "dp-0"+CFIS+"dp-02", null, "up", null, null, null, null, null, null, null);
assertEquals(cfb.getId(), "dp-0"+CFIS+"dp-02");
assertEquals(cfb.getProperties().get("column"), "1");
assertEquals(cfb.getProperties().get("row"), "2");
cfb = pageLayoutService.moveContentFragment(request, null, "dp-0"+CFIS+"dp-02", null, "left", null, null, null, null, null, null, null);
assertEquals(cfb.getId(), "dp-0"+CFIS+"dp-02");
assertEquals(cfb.getProperties().get("column"), "0");
assertEquals(cfb.getProperties().get("row"), "2");
pageManager.removePage(grid);
}