Class ApiHandlerAssert

  • All Implemented Interfaces:
    org.assertj.core.api.Assert<ApiHandlerAssert,​org.forgerock.api.annotations.Handler>, org.assertj.core.api.Descriptable<ApiHandlerAssert>, org.assertj.core.api.ExtensionPoints<ApiHandlerAssert,​org.forgerock.api.annotations.Handler>

    public final class ApiHandlerAssert
    extends org.assertj.core.api.AbstractAssert<ApiHandlerAssert,​org.forgerock.api.annotations.Handler>
    This class represents the Handler annotation.
    Since:
    14.0.0
    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself, objects, throwUnsupportedExceptionOnEquals
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiHandlerAssert hasI18nDescription()
      Assert that all descriptions use i18n and that the keys have valid entries in the specifies resource bundle.
      ApiHandlerAssert hasI18nTitle()
      Assert that all titles use i18n and that the keys have valid entries in the specifies resource bundle.
      ApiParameterAssert parameters()
      Get the test representative of Parameters in the annotated handler.
      ApiSchemaAssert schemas()
      Get the test representative of Schemas in the annotated handler.
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
      • Methods inherited from interface org.assertj.core.api.Descriptable

        as, as, as, describedAs, describedAs
    • Method Detail

      • hasI18nTitle

        public ApiHandlerAssert hasI18nTitle()
        Assert that all titles use i18n and that the keys have valid entries in the specifies resource bundle.
        Returns:
        An instance of ApiHandlerAssert.
      • hasI18nDescription

        public ApiHandlerAssert hasI18nDescription()
        Assert that all descriptions use i18n and that the keys have valid entries in the specifies resource bundle.
        Returns:
        An instance of ApiHandlerAssert.
      • schemas

        public ApiSchemaAssert schemas()
        Get the test representative of Schemas in the annotated handler.
        Returns:
        The ApiSchemaAssert containing the Schemas.
      • parameters

        public ApiParameterAssert parameters()
        Get the test representative of Parameters in the annotated handler.
        Returns:
        The ApiParameterAssert containing the Parameters.