Class CustomEndpointURLResolverTest


  • public class CustomEndpointURLResolverTest
    extends AbstractTest
    This test will validate that by default, the endpoint used is the one provided in the token. If custom logic is provided by the Config.withEndpointURLResolver, this logic should be used instead.
    Author:
    bcornelis
    • Constructor Detail

      • CustomEndpointURLResolverTest

        public CustomEndpointURLResolverTest()
    • Method Detail

      • defaultImplementation_Test

        public void defaultImplementation_Test()
                                        throws IOException
        This test verifies the default logic to retrieve the endpoint URL is still working. Internally it will generate the endpoint included in the security token.
        Throws:
        IOException
      • customImplementation_Test

        public void customImplementation_Test()
                                       throws IOException
        This test validates the custom url endpoint resolver is used when it has been configured in the Config class.
        Throws:
        IOException
      • setup

        @BeforeTest
        public void setup()