Class DefaultB2BPermissionServiceMockTest

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @UnitTest
    public class DefaultB2BPermissionServiceMockTest
    extends HybrisMokitoTest
    Mock test for the B2BPermissionService
    • Constructor Detail

      • DefaultB2BPermissionServiceMockTest

        public DefaultB2BPermissionServiceMockTest()
    • Method Detail

      • setUp

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

        public void testEvaluatePermissions()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetApproversForOpenPermissions

        public void testGetApproversForOpenPermissions()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNeedsApproval

        public void testNeedsApproval()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetEligableApprovers

        public void testGetEligableApprovers()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetOpenPermissions

        public void testGetOpenPermissions()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetB2BPermissionByCode

        public void testGetB2BPermissionByCode()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetAllB2BPermissions

        public void testGetAllB2BPermissions()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPermissionExists

        public void testPermissionExists()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFindAllB2BPermissionTypes

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