Class SystemRoleFactorySupportTest

java.lang.Object
it.tidalwave.role.spi.SystemRoleFactorySupportTest

public class SystemRoleFactorySupportTest extends Object
Author:
Fabrizio Giudici
  • Constructor Details

    • SystemRoleFactorySupportTest

      public SystemRoleFactorySupportTest()
  • Method Details

    • setup

      @BeforeMethod public void setup()
    • must_correctly_find_implemented_interfaces

      public void must_correctly_find_implemented_interfaces(@Nonnull Class<?> clazz, @Nonnull Set<Class<?>> expectedInterfaces)
    • must_properly_scan_classes

      public void must_properly_scan_classes()
    • must_correctly_find_roles

      public void must_correctly_find_roles(@Nonnull Object owner, @Nonnull Class<?> roleClass, @Nonnull List<?> expectedRoles)
    • findTypeOf_must_return_original_class_for_Mockito_mocks

      public void findTypeOf_must_return_original_class_for_Mockito_mocks()