ImmutableEffectedSubjectIds implements EffectedSubjectIds { public static ImmutableEffectedSubjectIds ofGranted(final Collection<String> grantedSubjectIds) { return of(grantedSubjectIds, Collections.emptySet()); } private  ImmutableEffectedSubjectIds(final Collection<String> grantedSubjectIds,
            final Collection<String> revokedSubjectIds); private  ImmutableEffectedSubjectIds(final Builder builder); static ImmutableEffectedSubjectIds of(final Collection<String> grantedSubjectIds,
            final Collection<String> revokedSubjectIds); static ImmutableEffectedSubjectIds ofGranted(final Collection<String> grantedSubjectIds); static ImmutableEffectedSubjectIds ofRevoked(final Collection<String> revokedSubjectIds); static Builder getBuilder(); @Override Set<String> getGranted(); @Override Set<String> getRevoked(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }
@Test(expected = NullPointerException.class) public void createNewGrantedInstanceWithNullSubjectIds() { ImmutableEffectedSubjectIds.ofGranted(null); }