"testCategoryPackage",
AssetFormats.DRL );
repositoryAssetService.changeState( uuid,
status );
StatePageRequest request = new StatePageRequest( status,
0,
PAGE_SIZE );
PageResponse<StatePageRow> response;
response = impl.loadRuleListForState( request );
assertNotNull( response );
assertNotNull( response.getPageRowList() );
assertTrue( response.getStartRowIndex() == 0 );
assertTrue( response.getPageRowList().size() == PAGE_SIZE );
assertFalse( response.isLastPage() );
request.setStartRowIndex( PAGE_SIZE );
response = impl.loadRuleListForState( request );
assertNotNull( response );
assertNotNull( response.getPageRowList() );
assertTrue( response.getStartRowIndex() == PAGE_SIZE );