use of com.microsoft.graph.core.DefaultClientConfig in project msgraph-sdk-java by microsoftgraph.
the class GraphServiceClientTest method testClientMethodsReturnStuff.
@Test
public void testClientMethodsReturnStuff() {
IGraphServiceClient client = GraphServiceClient.fromConfig(new DefaultClientConfig() {
@Override
public IAuthenticationProvider getAuthenticationProvider() {
return auth;
}
});
assertEquals(auth, client.getAuthenticationProvider());
assertNotNull(client.getExecutors());
assertNotNull(client.getHttpProvider());
assertNotNull(client.getLogger());
assertNotNull(client.getSerializer());
}
Aggregations