List of usage examples for com.google.common.collect ImmutableSortedSet of
static <E> Set<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9)
From source file:ezbake.security.EzSecurityClientIT.java
@Test public void appInfoExclude() throws TException { EzSecurityToken token = ezbakeSecurityClient.fetchAppToken(App, Sets.newHashSet("ezbake", "USA")); assertEquals(App, token.getTokenPrincipal().getPrincipal()); Set<String> l1 = ImmutableSortedSet.of("high", "servant", "carry", "help", "protect", "nan", "Stark", "42six", "CSC"); assertEquals(l1, ImmutableSortedSet.copyOf(token.getAuthorizations().getFormalAuthorizations())); }