Class AwsKeyStorageTest


  • public class AwsKeyStorageTest
    extends java.lang.Object
    Unit tests for AwsKeyStorage.
    Author:
    Carl Harris
    • Field Detail

      • context

        public final org.jmock.integration.junit4.JUnitRuleMockery context
    • Constructor Detail

      • AwsKeyStorageTest

        public AwsKeyStorageTest()
    • 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