Class DefaultPunchOutServiceTest


  • @UnitTest
    public class DefaultPunchOutServiceTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultPunchOutServiceTest

        public DefaultPunchOutServiceTest()
    • Method Detail

      • prepare

        public void prepare()
                     throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • shouldCreateNotAuthorizedResponse

        public void shouldCreateNotAuthorizedResponse()
        Tests that when PunchOutService.processPunchOutSetUpRequest(CXML) is invoked and an action throws and exception the result will contain both the error code and the error message.