Class PunchOutOrderRequiresCalculationStrategyTest

    • Constructor Detail

      • PunchOutOrderRequiresCalculationStrategyTest

        public PunchOutOrderRequiresCalculationStrategyTest​(java.lang.Boolean punchOutOrder,
                                                            boolean defaultStrategyResult,
                                                            boolean expectedResult)
    • Method Detail

      • data

        public static java.util.Collection<java.lang.Object[]> data()
        The data is consisted of
        1) whether the order is a punch out order
        2) whether the default injected strategy returns true or false
        3) the expected result
      • testRequiresCalculationWhenNotPunchOutOrderAndNot

        public void testRequiresCalculationWhenNotPunchOutOrderAndNot()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRequiresCalculationAbstractOrderModel

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