Class RoleManagerSupportTest


  • public class RoleManagerSupportTest
    extends java.lang.Object
    Author:
    Fabrizio Giudici
    • Constructor Detail

      • RoleManagerSupportTest

        public RoleManagerSupportTest()
    • Method Detail

      • setup

        public void setup()
      • must_correctly_find_implemented_interfaces

        public void must_correctly_find_implemented_interfaces​(@Nonnull
                                                               java.lang.Class<?> clazz,
                                                               @Nonnull
                                                               java.util.Set<java.lang.Class<?>> expectedInterfaces)
      • must_properly_scan_classes

        public void must_properly_scan_classes()
      • must_correctly_find_roles

        public void must_correctly_find_roles​(@Nonnull
                                              java.lang.Object owner,
                                              @Nonnull
                                              java.lang.Class<?> roleClass,
                                              @Nonnull
                                              java.util.List<?> expectedRoles)
                                       throws NotFoundException
        Throws:
        NotFoundException
      • findTypeOf_must_return_original_class_for_Mockito_mocks

        public void findTypeOf_must_return_original_class_for_Mockito_mocks()