@Test
public void getPageInfo() throws PageInfoParseException
{
PageInfo pageInfoFixture = new PageInfo(1, 2);
PageInfoParser pip = mock(PageInfoParser.class);
when(pip.parse(FooPagingResource.FOO)).thenReturn(pageInfoFixture);
AbstractPagingResource underTest = new FooPagingResource(pip);
PageInfo pageInfo = underTest.getPageInfo();
assertEquals(pageInfoFixture, pageInfo);
verify(pip).parse(FooPagingResource.FOO);