Search in sources :

Example 1 with AmazonBucketClientImpl

use of org.molgenis.amazon.bucket.client.AmazonBucketClientImpl in project molgenis by molgenis.

the class AmazonBucketClientImplTest method setUp.

@BeforeTest
public void setUp() {
    client = mock(AmazonS3Client.class);
    fileStore = mock(FileStore.class);
    s3Object = mock(S3Object.class);
    httpRequestBase = mock(HttpRequestBase.class);
    amazonBucketClient = new AmazonBucketClientImpl();
}
Also used : FileStore(org.molgenis.data.file.FileStore) AmazonS3Client(com.amazonaws.services.s3.AmazonS3Client) HttpRequestBase(org.apache.http.client.methods.HttpRequestBase) AmazonBucketClientImpl(org.molgenis.amazon.bucket.client.AmazonBucketClientImpl) S3Object(com.amazonaws.services.s3.model.S3Object) BeforeTest(org.testng.annotations.BeforeTest)

Aggregations

AmazonS3Client (com.amazonaws.services.s3.AmazonS3Client)1 S3Object (com.amazonaws.services.s3.model.S3Object)1 HttpRequestBase (org.apache.http.client.methods.HttpRequestBase)1 AmazonBucketClientImpl (org.molgenis.amazon.bucket.client.AmazonBucketClientImpl)1 FileStore (org.molgenis.data.file.FileStore)1 BeforeTest (org.testng.annotations.BeforeTest)1