use of org.finra.herd.model.api.xml.BusinessObjectDataSearchResult in project herd by FINRAOS.
the class RetentionExpirationExporterWebClientTest method testSearchBusinessObjectDataPageNum1.
@Test
public void testSearchBusinessObjectDataPageNum1() throws Exception {
retentionExpirationExporterWebClient.getRegServerAccessParamsDto().setUseSsl(false);
BusinessObjectDataSearchResult result = retentionExpirationExporterWebClient.searchBusinessObjectData(new BusinessObjectDataSearchRequest(), 1);
assertNotNull(result);
assertEquals(2, CollectionUtils.size(result.getBusinessObjectDataElements()));
}
use of org.finra.herd.model.api.xml.BusinessObjectDataSearchResult in project herd by FINRAOS.
the class RetentionExpirationExporterWebClientTest method testSearchBusinessObjectDataPageNum2.
@Test
public void testSearchBusinessObjectDataPageNum2() throws Exception {
retentionExpirationExporterWebClient.getRegServerAccessParamsDto().setUseSsl(false);
BusinessObjectDataSearchResult result = retentionExpirationExporterWebClient.searchBusinessObjectData(new BusinessObjectDataSearchRequest(), 2);
assertNotNull(result);
assertEquals(0, CollectionUtils.size(result.getBusinessObjectDataElements()));
}
use of org.finra.herd.model.api.xml.BusinessObjectDataSearchResult in project herd by FINRAOS.
the class RetentionExpirationExporterWebClientTest method testSearchBusinessObjectDataUseSsl.
@Test
public void testSearchBusinessObjectDataUseSsl() throws Exception {
retentionExpirationExporterWebClient.getRegServerAccessParamsDto().setUseSsl(true);
BusinessObjectDataSearchResult result = retentionExpirationExporterWebClient.searchBusinessObjectData(new BusinessObjectDataSearchRequest(), 1);
assertNotNull(result);
}
Aggregations