Class DefaultCommercePriceServiceIntTest

    • Constructor Detail

      • DefaultCommercePriceServiceIntTest

        public DefaultCommercePriceServiceIntTest()
    • Method Detail

      • setUp

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

        public void testBaseStore()
      • testCart

        public void testCart()
      • testDefault

        public void testDefault()
      • testCartFactory

        public void testCartFactory()
      • calcNet

        protected double calcNet​(double price,
                                 boolean full)
      • verifyProduct

        protected void verifyProduct​(ProductModel product,
                                     double webPrice,
                                     double fromPrice,
                                     boolean net)
      • verifyProduct

        protected void verifyProduct​(ProductModel product,
                                     double webPrice,
                                     double fromPrice,
                                     boolean net,
                                     boolean purchasable)
      • verifyPrice

        protected void verifyPrice​(PriceInformation price,
                                   double expected,
                                   boolean net)
      • createSite

        protected BaseSiteModel createSite​(boolean net)
      • updateBaseSite

        protected void updateBaseSite​(BaseSiteModel siteModel,
                                      boolean net)