@Generated(value="assertj-assertions-generator") public class TypeSpecAssert extends AbstractTypeSpecAssert<TypeSpecAssert,com.squareup.javapoet.TypeSpec>
TypeSpec specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractTypeSpecAssert instead.| Constructor and Description |
|---|
TypeSpecAssert(com.squareup.javapoet.TypeSpec actual)
Creates a new
to make assertions on actual TypeSpec. |
| Modifier and Type | Method and Description |
|---|---|
static TypeSpecAssert |
assertThat(com.squareup.javapoet.TypeSpec actual)
An entry point for TypeSpecAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myTypeSpec) and get specific assertion with code completion. |
doesNotHaveAnnotations, doesNotHaveAnnotations, doesNotHaveFieldSpecs, doesNotHaveFieldSpecs, doesNotHaveMethodSpecs, doesNotHaveMethodSpecs, doesNotHaveModifiers, doesNotHaveModifiers, doesNotHaveOriginatingElements, doesNotHaveOriginatingElements, doesNotHaveSuperinterfaces, doesNotHaveSuperinterfaces, doesNotHaveTypeSpecs, doesNotHaveTypeSpecs, doesNotHaveTypeVariables, doesNotHaveTypeVariables, hasAnnotations, hasAnnotations, hasAnonymousTypeArguments, hasEnumConstants, hasFieldSpecs, hasFieldSpecs, hasInitializerBlock, hasJavadoc, hasKind, hasMethodSpecs, hasMethodSpecs, hasModifiers, hasModifiers, hasName, hasNoAnnotations, hasNoFieldSpecs, hasNoMethodSpecs, hasNoModifiers, hasNoOriginatingElements, hasNoSuperinterfaces, hasNoTypeSpecs, hasNoTypeVariables, hasOnlyAnnotations, hasOnlyAnnotations, hasOnlyFieldSpecs, hasOnlyFieldSpecs, hasOnlyMethodSpecs, hasOnlyMethodSpecs, hasOnlyModifiers, hasOnlyModifiers, hasOnlyOriginatingElements, hasOnlyOriginatingElements, hasOnlySuperinterfaces, hasOnlySuperinterfaces, hasOnlyTypeSpecs, hasOnlyTypeSpecs, hasOnlyTypeVariables, hasOnlyTypeVariables, hasOriginatingElements, hasOriginatingElements, hasStaticBlock, hasSuperclass, hasSuperinterfaces, hasSuperinterfaces, hasTypeSpecs, hasTypeSpecs, hasTypeVariables, hasTypeVariablesas, 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 TypeSpecAssert(com.squareup.javapoet.TypeSpec actual)
TypeSpecAssert to make assertions on actual TypeSpec.actual - the TypeSpec we want to make assertions on.public static TypeSpecAssert assertThat(com.squareup.javapoet.TypeSpec actual)
assertThat() statements.assertThat(myTypeSpec) and get specific assertion with code completion.actual - the TypeSpec we want to make assertions on.TypeSpecAssertCopyright © 2019 Mulesoft. All rights reserved.