@Test
    public void testGoodProfile() {
        Authorizer authorizer = new CheckProfileTypeAuthorizer(FakeProfile1.class, FakeProfile2.class);
        final List<UserProfile> profiles = new ArrayList<>();
        profiles.add(new FakeProfile1());
        assertTrue(authorizer.isAuthorized(null, new MockSessionStore(), profiles));
    }
Tests {@link CheckProfileTypeAuthorizer}.

@author Jerome Leleu
@since 1.8.1
pac4j-core/src/test/java/org/pac4j/core/authorization/authorizer/CheckProfileTypeAuthorizerTests.java