repositoryAssetOperations.setRulesRepositoryForTest(rulesRepository);
AssetPageRequest assetPageRequest = new AssetPageRequest( "uuid",
Arrays.asList( "formatInList" ),
null );
ModuleItem packageItem = mock( ModuleItem.class );
when( rulesRepository.loadModuleByUUID( Mockito.anyString() ) ).thenReturn( packageItem );
AssetItem a1 = mock( AssetItem.class );
when( a1.getFormat() ).thenReturn( "formatInList" );
when( a1.getCreatedDate() ).thenReturn( Calendar.getInstance() );
when( a1.getLastModified() ).thenReturn( Calendar.getInstance() );