Package org.soulwing.s2ks.aws
Class AwsKeyStorageTest
- java.lang.Object
-
- org.soulwing.s2ks.aws.AwsKeyStorageTest
-
public class AwsKeyStorageTest extends java.lang.Object
Unit tests forAwsKeyStorage
.- Author:
- Carl Harris
-
-
Field Summary
Fields Modifier and Type Field Description org.jmock.integration.junit4.JUnitRuleMockery
context
-
Constructor Summary
Constructors Constructor Description AwsKeyStorageTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testGetContentStream()
void
testGetSubjectKey()
void
testGetSubjectKeyWhenNoDescriptors()
void
testGetWrapperKey()
void
testGetWrapperKeyWhenNotFound()
void
testIdToPath()
void
testNextWrapperKey()
void
testStoreContent()
-
-
-
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
-
testGetWrapperKey
public void testGetWrapperKey() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetWrapperKeyWhenNotFound
public void testGetWrapperKeyWhenNotFound() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNextWrapperKey
public void testNextWrapperKey() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetSubjectKeyWhenNoDescriptors
public void testGetSubjectKeyWhenNoDescriptors() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetSubjectKey
public void testGetSubjectKey() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStoreContent
public void testStoreContent() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-