Class DefaultPunchOutServiceIntegrationTest

    • Constructor Detail

      • DefaultPunchOutServiceIntegrationTest

        public DefaultPunchOutServiceIntegrationTest()
    • Method Detail

      • setUp

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

        public void testPurchaseOrderRequestHappyPath()
                                               throws java.io.FileNotFoundException
        Tests the full scenario of passing an OrderRequest, populating a shopping cart and placing an order.
        Throws:
        java.io.FileNotFoundException
      • testPunchOutSetUpRequestHappyPath

        public void testPunchOutSetUpRequestHappyPath()
                                               throws java.io.FileNotFoundException
        Tests that sending a proper PunchOutSetupRequest in the form of a parsed from a file cXML object will yield a proper cXML PunchOutSetupResponse.
        Throws:
        java.io.FileNotFoundException
      • testPunchOutSetUpRequestEditOperation

        public void testPunchOutSetUpRequestEditOperation()
                                                   throws java.io.FileNotFoundException
        Tests that sending a proper PunchOutSetupRequest in the form of a parsed from a file cXML object will yield a proper cXML PunchOutSetupResponse. The operation is 'edit'.
        Throws:
        java.io.FileNotFoundException
      • testProfileTransactionHappyPath

        public void testProfileTransactionHappyPath()
                                             throws java.io.FileNotFoundException
        Tests that getting a ProfileRequest CXML will yield a proper ProfileResponse back.
        Throws:
        java.io.FileNotFoundException