@Test(dependsOnMethods = "testEnableOnlyCreate")
public void testAdminPrincipalsAllowedAll() throws Exception {

    this.metadata.read(() -> {
        Optional<AllowedActions> option = this.provider.getAllowedActions(AllowedActions.SERVICES);
        assertThat(option.isPresent()).isTrue();
        option.ifPresent(actions -> {
            Set<Principal> createPrincs = actions.getPrincipalsAllowedAll(TestSecurityConfig.CREATE_FEEDS);
            Set<Principal> accessPrincs = actions.getPrincipalsAllowedAll(TestSecurityConfig.CREATE_FEEDS);
            Set<Principal> exportPrincs = actions.getPrincipalsAllowedAll(TestSecurityConfig.EXPORT_FEEDS);
            
            assertThat(createPrincs).contains(TEST_USER);
            assertThat(accessPrincs).contains(TEST_USER);
            assertThat(exportPrincs).doesNotContain(TEST_USER);
        });
    }, TestSecurityConfig.ADMIN);
}