Class PunchOutOrderRequiresCalculationStrategyTest
- java.lang.Object
-
- de.hybris.platform.b2b.punchout.order.PunchOutOrderRequiresCalculationStrategyTest
-
@UnitTest public class PunchOutOrderRequiresCalculationStrategyTest extends java.lang.Object
Test cases forPunchOutOrderRequiresCalculationStrategy.
-
-
Constructor Summary
Constructors Constructor Description PunchOutOrderRequiresCalculationStrategyTest(java.lang.Boolean punchOutOrder, boolean defaultStrategyResult, boolean expectedResult)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 resultvoidtestRequiresCalculationAbstractOrderModel()voidtestRequiresCalculationWhenNotPunchOutOrderAndNot()
-
-
-
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
-
-