test_class.declarator: testName = new TestName()
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TestName testName = new TestName();
test_class.type: TestName
test_class.var_name: testName
test_class.declarator: authorizationContext
test_class.modifier: private
test_class.original_string: private AuthorizationContext authorizationContext;
test_class.type: AuthorizationContext
test_class.var_name: authorizationContext
test_class.declarator: dittoHeaders
test_class.modifier: private
test_class.original_string: private DittoHeaders dittoHeaders;
test_class.type: DittoHeaders
test_class.var_name: dittoHeaders
test_class.declarator: reasonOfFailure
test_class.modifier: private
test_class.original_string: private Throwable reasonOfFailure;
test_class.type: Throwable
test_class.var_name: reasonOfFailure
test_class.file: services/gateway/security/src/test/java/org/eclipse/ditto/services/gateway/security/authentication/DefaultAuthenticationResultTest.java
test_class.identifier: DefaultAuthenticationResultTest
test_case.body: @Test
      public void getFailedInstanceWithNullDittoHeaders() {
          assertThatNullPointerException()
                  .isThrownBy(() -> DefaultAuthenticationResult.failed(null, reasonOfFailure))
                  .withMessage("The dittoHeaders must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: DefaultAuthenticationResultTest.getFailedInstanceWithNullDittoHeaders()
test_case.full_signature: @Test public void getFailedInstanceWithNullDittoHeaders()
test_case.identifier: getFailedInstanceWithNullDittoHeaders
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException failed
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getFailedInstanceWithNullDittoHeaders()
focal_class.declarator: dittoHeaders
focal_class.modifier: private final
focal_class.original_string: private final DittoHeaders dittoHeaders;
focal_class.type: DittoHeaders
focal_class.var_name: dittoHeaders
focal_class.declarator: authorizationContext
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final AuthorizationContext authorizationContext;
focal_class.type: AuthorizationContext
focal_class.var_name: authorizationContext
focal_class.declarator: reasonOfFailure
focal_class.modifier: @Nullable private final
focal_class.original_string: @Nullable private final Throwable reasonOfFailure;
focal_class.type: Throwable
focal_class.var_name: reasonOfFailure
focal_class.file: services/gateway/security/src/main/java/org/eclipse/ditto/services/gateway/security/authentication/DefaultAuthenticationResult.java
focal_class.identifier: DefaultAuthenticationResult
focal_class.interfaces: implements AuthenticationResult
focal_class.class_method_signature: DefaultAuthenticationResult.DefaultAuthenticationResult(final DittoHeaders dittoHeaders,
              @Nullable final AuthorizationContext authorizationContext, @Nullable final Throwable reasonOfFailure)
focal_class.full_signature: private  DefaultAuthenticationResult(final DittoHeaders dittoHeaders,
              @Nullable final AuthorizationContext authorizationContext, @Nullable final Throwable reasonOfFailure)
focal_class.identifier: DefaultAuthenticationResult
focal_class.modifiers: private
focal_class.parameters: (final DittoHeaders dittoHeaders,
              @Nullable final AuthorizationContext authorizationContext, @Nullable final Throwable reasonOfFailure)
focal_class.signature:  DefaultAuthenticationResult(final DittoHeaders dittoHeaders,
              @Nullable final AuthorizationContext authorizationContext, @Nullable final Throwable reasonOfFailure)
focal_class.class_method_signature: DefaultAuthenticationResult.successful(final DittoHeaders dittoHeaders,
              final AuthorizationContext authorizationContext)
focal_class.full_signature: public static AuthenticationResult successful(final DittoHeaders dittoHeaders,
              final AuthorizationContext authorizationContext)
focal_class.identifier: successful
focal_class.modifiers: public static
focal_class.parameters: (final DittoHeaders dittoHeaders,
              final AuthorizationContext authorizationContext)
focal_class.return: AuthenticationResult
focal_class.signature: AuthenticationResult successful(final DittoHeaders dittoHeaders,
              final AuthorizationContext authorizationContext)
focal_class.class_method_signature: DefaultAuthenticationResult.failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_class.full_signature: public static AuthenticationResult failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_class.identifier: failed
focal_class.modifiers: public static
focal_class.parameters: (final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_class.return: AuthenticationResult
focal_class.signature: AuthenticationResult failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_class.class_method_signature: DefaultAuthenticationResult.isSuccess()
focal_class.full_signature: @Override public boolean isSuccess()
focal_class.identifier: isSuccess
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSuccess()
focal_class.class_method_signature: DefaultAuthenticationResult.getAuthorizationContext()
focal_class.full_signature: @Override public AuthorizationContext getAuthorizationContext()
focal_class.identifier: getAuthorizationContext
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AuthorizationContext
focal_class.signature: AuthorizationContext getAuthorizationContext()
focal_class.class_method_signature: DefaultAuthenticationResult.getDittoHeaders()
focal_class.full_signature: @Override public DittoHeaders getDittoHeaders()
focal_class.identifier: getDittoHeaders
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DittoHeaders
focal_class.signature: DittoHeaders getDittoHeaders()
focal_class.class_method_signature: DefaultAuthenticationResult.getReasonOfFailure()
focal_class.full_signature: @Override public Throwable getReasonOfFailure()
focal_class.identifier: getReasonOfFailure
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Throwable
focal_class.signature: Throwable getReasonOfFailure()
focal_class.class_method_signature: DefaultAuthenticationResult.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: DefaultAuthenticationResult.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: DefaultAuthenticationResult.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 AuthenticationResult failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure) {
          return new DefaultAuthenticationResult(dittoHeaders, null, checkNotNull(reasonOfFailure, "reasonOfFailure"));
      }
focal_method.class_method_signature: DefaultAuthenticationResult.failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_method.full_signature: public static AuthenticationResult failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_method.identifier: failed
focal_method.invocations: checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)
focal_method.return: AuthenticationResult
focal_method.signature: AuthenticationResult failed(final DittoHeaders dittoHeaders, final Throwable reasonOfFailure)