use of com.auth0.client.MockServer in project auth0-java by auth0.
the class CreateUserRequestTest 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 CustomRequestTest 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 AuthAPITest method setUp.
@Before
public void setUp() throws Exception {
server = new MockServer();
api = new AuthAPI(server.getBaseUrl(), CLIENT_ID, CLIENT_SECRET);
}
use of com.auth0.client.MockServer in project auth0-java by auth0.
the class BaseMgmtEntityTest method setUp.
@Before
public void setUp() throws Exception {
server = new MockServer();
api = new ManagementAPI(server.getBaseUrl(), API_TOKEN);
}
Aggregations