public void Test_is_applicable(string applicableProductId, string productId, bool expected)
        {
            _testContext.Arrange(applicableProductId, productId);

            _testContext.ActIsApplicable();

            _testContext.AssertIsApplicable(expected);
        }
示例#2
0
        public void Test_is_applicable(string applicableProductId, string productId, int numberOfProducts, int x,
                                       int y, bool expected)
        {
            _testContext.Arrange(applicableProductId, productId, numberOfProducts, x, y);

            _testContext.ActIsApplicable();

            _testContext.AssertIsApplicable(expected);
        }