Class AsPromotedItemModelTest

    • Field Detail

      • expectedException

        public org.junit.rules.ExpectedException expectedException
    • Constructor Detail

      • AsPromotedItemModelTest

        public AsPromotedItemModelTest()
    • Method Detail

      • getNonExistingPromotedItem

        public void getNonExistingPromotedItem()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createPromotedItemWithoutUid

        public void createPromotedItemWithoutUid()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createPromotedItem

        public void createPromotedItem()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • failToCreatePromotedItemWithWrongCatalogVersion

        public void failToCreatePromotedItemWithWrongCatalogVersion()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • failToCreatePromotedItemWithoutSearchConfiguration

        public void failToCreatePromotedItemWithoutSearchConfiguration()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • failToCreatePromotedItemWithoutItem

        public void failToCreatePromotedItemWithoutItem()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createMultiplePromotedItems

        public void createMultiplePromotedItems()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • failToUpdatePromotedItemItem

        public void failToUpdatePromotedItemItem()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • clonePromotedItem

        public void clonePromotedItem()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • removePromotedItem

        public void removePromotedItem()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • promotedItemIsNotCorrupted

        public void promotedItemIsNotCorrupted()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • promotedItemIsCorrupted

        public void promotedItemIsCorrupted()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • rankAfterPromotedItem

        public void rankAfterPromotedItem()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • rankBeforePromotedItem

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