Package org.soulwing.s2ks.aws
Class S3StorageServiceTest
- java.lang.Object
-
- org.soulwing.s2ks.aws.S3StorageServiceTest
-
public class S3StorageServiceTest extends java.lang.Object
Unit tests forS3StorageService
.- Author:
- Carl Harris
-
-
Field Summary
Fields Modifier and Type Field Description org.jmock.integration.junit4.JUnitRuleMockery
context
org.junit.rules.ExpectedException
expectedException
-
Constructor Summary
Constructors Constructor Description S3StorageServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testGetContentStream()
void
testGetContentStreamWhenNotFound()
void
testIdToPath()
void
testStoreContent()
void
testStoreContentWhenS3Exception()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIdToPath
public void testIdToPath() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetContentStream
public void testGetContentStream() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetContentStreamWhenNotFound
public void testGetContentStreamWhenNotFound() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStoreContent
public void testStoreContent() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStoreContentWhenS3Exception
public void testStoreContentWhenS3Exception() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-