Class DefaultPersistenceTest

    • Constructor Detail

      • DefaultPersistenceTest

        public DefaultPersistenceTest()
    • Method Detail

      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInitializePersistence

        public void shouldInitializePersistence()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists

        public void shouldInsertNewEntryWithKeyAndValueIfSuchEntryDoesNotExists()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists

        public void shouldNotInsertEntryWithKeyAndValueIfSuchEntryAlreadyExists()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldUpdateExistingValueForGivenKey

        public void shouldUpdateExistingValueForGivenKey()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnFalseWhenTryingToUpdateNonExistentEntry

        public void shouldReturnFalseWhenTryingToUpdateNonExistentEntry()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldDeleteEntryForGivenExistingKey

        public void shouldDeleteEntryForGivenExistingKey()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnFalseWhenTryingToDeleteNonExistentEntry

        public void shouldReturnFalseWhenTryingToDeleteNonExistentEntry()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldGetAValueForGivenKey

        public void shouldGetAValueForGivenKey()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnNullWhenTryingToGetAValueForNonExistentKey

        public void shouldReturnNullWhenTryingToGetAValueForNonExistentKey()
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnAllEntriesAsPropertiesObject

        public void shouldReturnAllEntriesAsPropertiesObject()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception