Class JSONErrorResponseTest


  • public class JSONErrorResponseTest
    extends Object
    Tests for JSONErrorResponse.
    • Field Detail

      • response

        private net.shibboleth.idp.plugin.oidc.op.messaging.JSONErrorResponse response
      • content

        com.nimbusds.oauth2.sdk.ErrorObject content
    • Constructor Detail

      • JSONErrorResponseTest

        public JSONErrorResponseTest()
    • Method Detail

      • init

        @BeforeMethod
        public void init()
                  throws net.minidev.json.parser.ParseException
        Throws:
        net.minidev.json.parser.ParseException
      • testSuccess

        public void testSuccess()
                         throws net.minidev.json.parser.ParseException
        Throws:
        net.minidev.json.parser.ParseException
      • testSuccess2

        public void testSuccess2()
                          throws net.minidev.json.parser.ParseException
        Throws:
        net.minidev.json.parser.ParseException
      • testFail

        public void testFail()
                      throws net.minidev.json.parser.ParseException
        Throws:
        net.minidev.json.parser.ParseException