Package org.jtalks.jcommune.model.dto

Examples of org.jtalks.jcommune.model.dto.PageRequest


        expectedTopic.setTitle(TOPIC_CONTENT);

        saveAndFlushIndexes(Arrays.asList(expectedTopic));
        configureMocks(TOPIC_CONTENT, TOPIC_CONTENT);

        PageRequest pageRequest = new PageRequest("1000", 50);
        Page<Topic> searchResultPage =
                topicSearchDao.searchByTitleAndContent(TOPIC_CONTENT, pageRequest,
                        Arrays.asList(expectedTopic.getBranch().getId()));

        Assert.assertEquals(searchResultPage.getNumber(), 1);
View Full Code Here

TOP

Related Classes of org.jtalks.jcommune.model.dto.PageRequest

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.