public Set<String> allPermissions() {
        return allPermissions;
    }
@Test
    public void testAllPermissions() throws Exception {
        assertThat(permissions.allPermissions())
                .containsOnlyElementsOf(restPermissions.permissions()
                        .stream()
                        .map(Permission::permission)
                        .collect(Collectors.toSet()));
    }