Search in sources :

Example 1 with MockJobStore

use of org.dataportabilityproject.transfer.microsoft.helper.MockJobStore in project data-transfer-project by google.

the class MicrosoftCalendarImportTest method setUp.

@Before
public void setUp() {
    client = new OkHttpClient.Builder().build();
    mapper = new ObjectMapper();
    transformerService = new TransformerServiceImpl();
    token = new TokenAuthData("token456");
    server = new MockWebServer();
    jobStore = new MockJobStore();
}
Also used : TokenAuthData(org.dataportabilityproject.types.transfer.auth.TokenAuthData) MockWebServer(com.squareup.okhttp.mockwebserver.MockWebServer) MockJobStore(org.dataportabilityproject.transfer.microsoft.helper.MockJobStore) ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) TransformerServiceImpl(org.dataportabilityproject.transfer.microsoft.transformer.TransformerServiceImpl) Before(org.junit.Before)

Aggregations

ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 MockWebServer (com.squareup.okhttp.mockwebserver.MockWebServer)1 MockJobStore (org.dataportabilityproject.transfer.microsoft.helper.MockJobStore)1 TransformerServiceImpl (org.dataportabilityproject.transfer.microsoft.transformer.TransformerServiceImpl)1 TokenAuthData (org.dataportabilityproject.types.transfer.auth.TokenAuthData)1 Before (org.junit.Before)1