Search in sources :

Example 1 with ApiCollectionApi

use of org.wso2.carbon.apimgt.rest.integration.tests.publisher.api.ApiCollectionApi in project product-apim by wso2.

the class APIMgtBaseIntegrationIT method testApiSearch.

@Test
public void testApiSearch() {
    ApiCollectionApi apiCollectionApi = apiPublisherClient.buildClient(ApiCollectionApi.class);
    APIList apiList = apiCollectionApi.apisGet("", Collections.emptyMap());
    Assert.assertEquals(apiList.getCount().intValue(), 0);
}
Also used : ApiCollectionApi(org.wso2.carbon.apimgt.rest.integration.tests.publisher.api.ApiCollectionApi) APIList(org.wso2.carbon.apimgt.rest.integration.tests.publisher.model.APIList) Test(org.testng.annotations.Test)

Aggregations

Test (org.testng.annotations.Test)1 ApiCollectionApi (org.wso2.carbon.apimgt.rest.integration.tests.publisher.api.ApiCollectionApi)1 APIList (org.wso2.carbon.apimgt.rest.integration.tests.publisher.model.APIList)1