use of com.microsoft.graph.http.MockHttpProvider in project msgraph-sdk-java by microsoftgraph.
the class BaseClientTests method setUp.
@Before
public void setUp() throws Exception {
baseClient = new BaseClient() {
@Override
public String getServiceRoot() {
return mEndpoint;
}
@Override
public void setServiceRoot(String value) {
mEndpoint = value;
}
};
mAuthenticationProvider = new MockAuthenticationProvider();
mExecutors = new MockExecutors();
mHttpProvider = new MockHttpProvider();
mLogger = new MockLogger();
mSerializer = new MockSerializer(null, "");
}
Aggregations