Class B2BDocumentsSecureMediaFilterTest

java.lang.Object
de.hybris.platform.b2bdocumentsfilter.B2BDocumentsSecureMediaFilterTest

@UnitTest public class B2BDocumentsSecureMediaFilterTest extends Object
  • Constructor Details

    • B2BDocumentsSecureMediaFilterTest

      public B2BDocumentsSecureMediaFilterTest()
  • Method Details

    • testSetup

      public void testSetup() throws Exception
      Throws:
      Exception
    • shouldReturnNoErrorWithGetDocumentMedia

      public void shouldReturnNoErrorWithGetDocumentMedia() throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • shouldGetErrorFileNotFound

      public void shouldGetErrorFileNotFound() throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • hasAccessToTheMedia

      public void hasAccessToTheMedia() throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • dontHaveAccessToTheMedia

      public void dontHaveAccessToTheMedia() throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • hasParentAccessToTheMedia

      public void hasParentAccessToTheMedia() throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException