Class ApiHandlerAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<ApiHandlerAssert,org.forgerock.api.annotations.Handler>
-
- org.forgerock.openam.test.apidescriptor.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 theHandlerannotation.- Since:
- 14.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiHandlerAsserthasI18nDescription()Assert that all descriptions use i18n and that the keys have valid entries in the specifies resource bundle.ApiHandlerAsserthasI18nTitle()Assert that all titles use i18n and that the keys have valid entries in the specifies resource bundle.ApiParameterAssertparameters()Get the test representative ofParameters in the annotated handler.ApiSchemaAssertschemas()Get the test representative ofSchemas 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
-
-
-
-
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 ofSchemas in the annotated handler.- Returns:
- The
ApiSchemaAssertcontaining theSchemas.
-
parameters
public ApiParameterAssert parameters()
Get the test representative ofParameters in the annotated handler.- Returns:
- The
ApiParameterAssertcontaining theParameters.
-
-