@Generated(value="assertj-assertions-generator") public class FieldSpecAssert extends AbstractFieldSpecAssert<FieldSpecAssert,com.squareup.javapoet.FieldSpec>
FieldSpec specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractFieldSpecAssert instead.| Constructor and Description |
|---|
FieldSpecAssert(com.squareup.javapoet.FieldSpec actual)
Creates a new
to make assertions on actual FieldSpec. |
| Modifier and Type | Method and Description |
|---|---|
static FieldSpecAssert |
assertThat(com.squareup.javapoet.FieldSpec actual)
An entry point for FieldSpecAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myFieldSpec) and get specific assertion with code completion. |
doesNotHaveAnnotations, doesNotHaveAnnotations, doesNotHaveModifiers, doesNotHaveModifiers, hasAnnotations, hasAnnotations, hasInitializer, hasJavadoc, hasModifiers, hasModifiers, hasName, hasNoAnnotations, hasNoModifiers, hasOnlyAnnotations, hasOnlyAnnotations, hasOnlyModifiers, hasOnlyModifiers, 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 FieldSpecAssert(com.squareup.javapoet.FieldSpec actual)
FieldSpecAssert to make assertions on actual FieldSpec.actual - the FieldSpec we want to make assertions on.public static FieldSpecAssert assertThat(com.squareup.javapoet.FieldSpec actual)
assertThat() statements.assertThat(myFieldSpec) and get specific assertion with code completion.actual - the FieldSpec we want to make assertions on.FieldSpecAssertCopyright © 2019 Mulesoft. All rights reserved.