test_class.declarator: GRANTED_1 = AuthorizationSubject.newInstance("granted1")
test_class.modifier: private static final
test_class.original_string: private static final AuthorizationSubject GRANTED_1 = AuthorizationSubject.newInstance("granted1");
test_class.type: AuthorizationSubject
test_class.var_name: GRANTED_1
test_class.declarator: GRANTED_2 = AuthorizationSubject.newInstance("granted2")
test_class.modifier: private static final
test_class.original_string: private static final AuthorizationSubject GRANTED_2 = AuthorizationSubject.newInstance("granted2");
test_class.type: AuthorizationSubject
test_class.var_name: GRANTED_2
test_class.declarator: REVOKED_1 = AuthorizationSubject.newInstance("revoked1")
test_class.modifier: private static final
test_class.original_string: private static final AuthorizationSubject REVOKED_1 = AuthorizationSubject.newInstance("revoked1");
test_class.type: AuthorizationSubject
test_class.var_name: REVOKED_1
test_class.declarator: REVOKED_2 = AuthorizationSubject.newInstance("revoked2")
test_class.modifier: private static final
test_class.original_string: private static final AuthorizationSubject REVOKED_2 = AuthorizationSubject.newInstance("revoked2");
test_class.type: AuthorizationSubject
test_class.var_name: REVOKED_2
test_class.declarator: KNOWN_GRANTED = Sets.newSet(GRANTED_1, GRANTED_2)
test_class.modifier: private static final
test_class.original_string: private static final Collection<AuthorizationSubject> KNOWN_GRANTED = Sets.newSet(GRANTED_1, GRANTED_2);
test_class.type: Collection<AuthorizationSubject>
test_class.var_name: KNOWN_GRANTED
test_class.declarator: KNOWN_REVOKED = Sets.newSet(REVOKED_1, REVOKED_2)
test_class.modifier: private static final
test_class.original_string: private static final Collection<AuthorizationSubject> KNOWN_REVOKED = Sets.newSet(REVOKED_1, REVOKED_2);
test_class.type: Collection<AuthorizationSubject>
test_class.var_name: KNOWN_REVOKED
test_class.file: model/enforcers/src/test/java/org/eclipse/ditto/model/enforcers/DefaultEffectedSubjectsTest.java
test_class.identifier: DefaultEffectedSubjectsTest
test_case.body: @Test
      public void tryToGetInstanceWithNullGranted() {
          assertThatNullPointerException()
                  .isThrownBy(() -> DefaultEffectedSubjects.of(null, Sets.newSet()))
                  .withMessage("The granted must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: DefaultEffectedSubjectsTest.tryToGetInstanceWithNullGranted()
test_case.full_signature: @Test public void tryToGetInstanceWithNullGranted()
test_case.identifier: tryToGetInstanceWithNullGranted
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException of newSet
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetInstanceWithNullGranted()
focal_class.declarator: granted
focal_class.modifier: private final
focal_class.original_string: private final Set<AuthorizationSubject> granted;
focal_class.type: Set<AuthorizationSubject>
focal_class.var_name: granted
focal_class.declarator: revoked
focal_class.modifier: private final
focal_class.original_string: private final Set<AuthorizationSubject> revoked;
focal_class.type: Set<AuthorizationSubject>
focal_class.var_name: revoked
focal_class.file: model/enforcers/src/main/java/org/eclipse/ditto/model/enforcers/DefaultEffectedSubjects.java
focal_class.identifier: DefaultEffectedSubjects
focal_class.interfaces: implements EffectedSubjects
focal_class.class_method_signature: DefaultEffectedSubjects.DefaultEffectedSubjects(final Set<AuthorizationSubject> granted, final Set<AuthorizationSubject> revoked)
focal_class.full_signature: private  DefaultEffectedSubjects(final Set<AuthorizationSubject> granted, final Set<AuthorizationSubject> revoked)
focal_class.identifier: DefaultEffectedSubjects
focal_class.modifiers: private
focal_class.parameters: (final Set<AuthorizationSubject> granted, final Set<AuthorizationSubject> revoked)
focal_class.signature:  DefaultEffectedSubjects(final Set<AuthorizationSubject> granted, final Set<AuthorizationSubject> revoked)
focal_class.class_method_signature: DefaultEffectedSubjects.of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_class.full_signature: public static DefaultEffectedSubjects of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_class.return: DefaultEffectedSubjects
focal_class.signature: DefaultEffectedSubjects of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_class.class_method_signature: DefaultEffectedSubjects.makeUnmodifiable(final Collection<AuthorizationSubject> subjectIds)
focal_class.full_signature: private static Set<AuthorizationSubject> makeUnmodifiable(final Collection<AuthorizationSubject> subjectIds)
focal_class.identifier: makeUnmodifiable
focal_class.modifiers: private static
focal_class.parameters: (final Collection<AuthorizationSubject> subjectIds)
focal_class.return: Set<AuthorizationSubject>
focal_class.signature: Set<AuthorizationSubject> makeUnmodifiable(final Collection<AuthorizationSubject> subjectIds)
focal_class.class_method_signature: DefaultEffectedSubjects.getGranted()
focal_class.full_signature: @Override public Set<AuthorizationSubject> getGranted()
focal_class.identifier: getGranted
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<AuthorizationSubject>
focal_class.signature: Set<AuthorizationSubject> getGranted()
focal_class.class_method_signature: DefaultEffectedSubjects.getRevoked()
focal_class.full_signature: @Override public Set<AuthorizationSubject> getRevoked()
focal_class.identifier: getRevoked
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<AuthorizationSubject>
focal_class.signature: Set<AuthorizationSubject> getRevoked()
focal_class.class_method_signature: DefaultEffectedSubjects.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: DefaultEffectedSubjects.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DefaultEffectedSubjects.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static DefaultEffectedSubjects of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked) {
  
          return new DefaultEffectedSubjects(makeUnmodifiable(checkNotNull(granted, "granted")),
                  makeUnmodifiable(checkNotNull(revoked, "revoked")));
      }
focal_method.class_method_signature: DefaultEffectedSubjects.of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_method.full_signature: public static DefaultEffectedSubjects of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_method.identifier: of
focal_method.invocations: makeUnmodifiable checkNotNull makeUnmodifiable checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)
focal_method.return: DefaultEffectedSubjects
focal_method.signature: DefaultEffectedSubjects of(final Collection<AuthorizationSubject> granted,
              final Collection<AuthorizationSubject> revoked)