Search in sources :

Example 1 with AutoRestPagingTestServiceImpl

use of fixtures.paging.implementation.AutoRestPagingTestServiceImpl in project autorest.java by Azure.

the class PagingTests method setup.

@BeforeClass
public static void setup() {
    RestClient restClient = new RestClient.Builder().withBaseUrl("http://localhost:3000").withSerializerAdapter(new AzureJacksonAdapter()).withResponseBuilderFactory(new AzureResponseBuilder.Factory()).build();
    client = new AutoRestPagingTestServiceImpl(restClient);
    ;
}
Also used : AzureResponseBuilder(com.microsoft.azure.AzureResponseBuilder) AzureJacksonAdapter(com.microsoft.azure.serializer.AzureJacksonAdapter) RestClient(com.microsoft.rest.RestClient) AutoRestPagingTestServiceImpl(fixtures.paging.implementation.AutoRestPagingTestServiceImpl) BeforeClass(org.junit.BeforeClass)

Aggregations

AzureResponseBuilder (com.microsoft.azure.AzureResponseBuilder)1 AzureJacksonAdapter (com.microsoft.azure.serializer.AzureJacksonAdapter)1 RestClient (com.microsoft.rest.RestClient)1 AutoRestPagingTestServiceImpl (fixtures.paging.implementation.AutoRestPagingTestServiceImpl)1 BeforeClass (org.junit.BeforeClass)1