use of com.auth0.client.MockServer in project auth0-java by auth0.
the class ManagementAPITest method setUp.
@Before
public void setUp() throws Exception {
server = new MockServer();
api = new ManagementAPI(server.getBaseUrl(), API_TOKEN);
}
use of com.auth0.client.MockServer in project auth0-java by auth0.
the class EmptyBodyRequestTest method setUp.
@Before
public void setUp() throws Exception {
server = new MockServer();
client = new OkHttpClient();
tokenHolderType = new TypeReference<TokenHolder>() {
};
}
use of com.auth0.client.MockServer in project auth0-java by auth0.
the class MultipartRequestTest method setUp.
@Before
public void setUp() throws Exception {
server = new MockServer();
client = new OkHttpClient();
tokenHolderType = new TypeReference<TokenHolder>() {
};
listType = new TypeReference<List>() {
};
voidType = new TypeReference<Void>() {
};
}
use of com.auth0.client.MockServer in project auth0-java by auth0.
the class TokenRequestTest method setUp.
@Before
public void setUp() throws Exception {
client = new OkHttpClient();
server = new MockServer();
}
use of com.auth0.client.MockServer in project auth0-java by auth0.
the class VoidRequestTest method setUp.
@Before
public void setUp() throws Exception {
client = new OkHttpClient();
server = new MockServer();
}
Aggregations