ImmutableEffectedSubjectIds implements EffectedSubjectIds { public static ImmutableEffectedSubjectIds of(final Collection<String> grantedSubjectIds, final Collection<String> revokedSubjectIds) { return new ImmutableEffectedSubjectIds(grantedSubjectIds, revokedSubjectIds); } 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 createNewInstanceWithNullGrantedSubjectIds() { ImmutableEffectedSubjectIds.of(null, Collections.emptySet()); }
@Test(expected = NullPointerException.class) public void createNewInstanceWithNullRevokedSubjectIds() { ImmutableEffectedSubjectIds.of(Collections.emptySet(), null); }