Package name.pehl.taoki.paging.parser

Examples of name.pehl.taoki.paging.parser.PageInfoParseException


    @Test
    public void getPageInfoWithInvalidInput() throws PageInfoParseException
    {
        PageInfoParser pip = mock(PageInfoParser.class);
        when(pip.parse(FooPagingResource.FOO)).thenThrow(
                new PageInfoParseException("Expected exception from junit test method"));

        AbstractPagingResource underTest = new FooPagingResource(pip);
        PageInfo pageInfo = underTest.getPageInfo();
        assertNull(pageInfo);
    }
View Full Code Here

TOP

Related Classes of name.pehl.taoki.paging.parser.PageInfoParseException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.