Ejemplo n.º 1
0
        public void BuildMembershipItemWithItemLineTypeMembership()
        {
            IItemProcessorBuilder builder = new ItemProcessorBuilder();

            var itemProcessor = builder.GetItemProcessor(ItemLineType.Membership);

            itemProcessor.ShouldBeOfType(typeof(MembershipItemProcessor));
        }
Ejemplo n.º 2
0
        public void BuildProductItemWithItemLineTypeProduct()
        {
            IItemProcessorBuilder builder = new ItemProcessorBuilder();

            var itemProcessor = builder.GetItemProcessor(ItemLineType.Product);

            itemProcessor.ShouldBeOfType(typeof(ProductItemProcessor));
        }