Class DefaultPkFactoryTest


  • @UnitTest
    public class DefaultPkFactoryTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultPkFactoryTest

        public DefaultPkFactoryTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnMapOfCurrentNumberSeries

        public void shouldReturnMapOfCurrentNumberSeries()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • mapOfCurrentNumberSeriesShouldBeUnmodifable

        public void mapOfCurrentNumberSeriesShouldBeUnmodifable()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldGeneratePksForNewTypesBasedOnNewlyInitializedCounter

        public void shouldGeneratePksForNewTypesBasedOnNewlyInitializedCounter()
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldGeneratePksBasedOnCurrentCounterForExistingTypeCode

        public void shouldGeneratePksBasedOnCurrentCounterForExistingTypeCode()
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldThrowNullPointerExceptionWhenDeploymentForComposedTypeIsNull

        public void shouldThrowNullPointerExceptionWhenDeploymentForComposedTypeIsNull()
                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldGeneratePkForComposedType

        public void shouldGeneratePkForComposedType()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreatePkForGivenComposedType

        public void shouldCreatePkForGivenComposedType()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnExistingPkForGivenComposedTypeWhenItWasAlreadyCreated

        public void shouldReturnExistingPkForGivenComposedTypeWhenItWasAlreadyCreated()
                                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreatePkForGivenEnumValue

        public void shouldCreatePkForGivenEnumValue()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnExistingPkForGivenEnumValueWhenItWasAlreadyCreated

        public void shouldReturnExistingPkForGivenEnumValueWhenItWasAlreadyCreated()
                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreatePkForGivenAtomicType

        public void shouldCreatePkForGivenAtomicType()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnExistingPkForGivenAtomicTypeWhenItWasAlreadyCreated

        public void shouldReturnExistingPkForGivenAtomicTypeWhenItWasAlreadyCreated()
                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreatePkForGivenMapType

        public void shouldCreatePkForGivenMapType()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnExistingPkForGivenMapTypeWhenItWasAlreadyCreated

        public void shouldReturnExistingPkForGivenMapTypeWhenItWasAlreadyCreated()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreatePkForGivenCollectionType

        public void shouldCreatePkForGivenCollectionType()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnExistingPkForGivenCollectionTypeWhenItWasAlreadyCreated

        public void shouldReturnExistingPkForGivenCollectionTypeWhenItWasAlreadyCreated()
                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreatePkForGivenComposedTypeAndAttributeDescriptor

        public void shouldCreatePkForGivenComposedTypeAndAttributeDescriptor()
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldReturnExistingPkForGivenComposedTypeAndAttributeDescriptorWhenItWasAlreadyCreated

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