@Generated(value="assertj-assertions-generator") public class AnnotationSpecAssert extends AbstractAnnotationSpecAssert<AnnotationSpecAssert,com.squareup.javapoet.AnnotationSpec>
AnnotationSpec specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractAnnotationSpecAssert instead.| Constructor and Description |
|---|
AnnotationSpecAssert(com.squareup.javapoet.AnnotationSpec actual)
Creates a new
to make assertions on actual AnnotationSpec. |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationSpecAssert |
assertThat(com.squareup.javapoet.AnnotationSpec actual)
An entry point for AnnotationSpecAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myAnnotationSpec) and get specific assertion with code completion. |
hasMembers, hasTypeas, as, extracting, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, usingComparatorForFields, usingComparatorForTypeasList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic AnnotationSpecAssert(com.squareup.javapoet.AnnotationSpec actual)
AnnotationSpecAssert to make assertions on actual AnnotationSpec.actual - the AnnotationSpec we want to make assertions on.public static AnnotationSpecAssert assertThat(com.squareup.javapoet.AnnotationSpec actual)
assertThat() statements.assertThat(myAnnotationSpec) and get specific assertion with code completion.actual - the AnnotationSpec we want to make assertions on.AnnotationSpecAssertCopyright © 2019 Mulesoft. All rights reserved.