@Test
public void test31getPaginatedPolicies() throws Exception {

	SearchFilter filter = new SearchFilter();
	filter.setParam(SearchFilter.POLICY_NAME, "policyName");
	filter.setParam(SearchFilter.SERVICE_NAME, "serviceName");
	RangerPolicyList policyListObj = new RangerPolicyList();
	policyListObj.setPageSize(0);
	policyListObj.setResultSize(1);
	policyListObj.setSortBy("asc");
	policyListObj.setSortType("1");
	policyListObj.setStartIndex(0);
	policyListObj.setTotalCount(10);
	PList<RangerPolicy> dbRangerPolicyList = serviceDBStore
			.getPaginatedPolicies(filter);
	Assert.assertNotNull(dbRangerPolicyList);
}