Class ResourcesGuardFilterTest


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

      • ResourcesGuardFilterTest

        public ResourcesGuardFilterTest()
    • Method Detail

      • setUp

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

        public void shouldProcessFilterChainWhenResourceIsEnabled()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSendNotFoundCodeIfResourceIsDisabled

        public void shouldSendNotFoundCodeIfResourceIsDisabled()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSendRedirectIfResourceIsDisabledAndFilterIsConfiguredForHandlingRedirects

        public void shouldSendRedirectIfResourceIsDisabledAndFilterIsConfiguredForHandlingRedirects()
                                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception