@Generated(value="assertj-assertions-generator") public abstract class AbstractParameterizedTypeNameAssert<S extends AbstractParameterizedTypeNameAssert<S,A>,A extends com.squareup.javapoet.ParameterizedTypeName> extends AbstractTypeNameAssert<S,A>
ParameterizedTypeName specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractParameterizedTypeNameAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ParameterizedTypeName. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveTypeArguments(Collection<? extends com.squareup.javapoet.TypeName> typeArguments)
Verifies that the actual ParameterizedTypeName's typeArguments does not contain the given TypeName elements in Collection.
|
S |
doesNotHaveTypeArguments(com.squareup.javapoet.TypeName... typeArguments)
Verifies that the actual ParameterizedTypeName's typeArguments does not contain the given TypeName elements.
|
S |
hasNoTypeArguments()
Verifies that the actual ParameterizedTypeName has no typeArguments.
|
S |
hasOnlyTypeArguments(Collection<? extends com.squareup.javapoet.TypeName> typeArguments)
Verifies that the actual ParameterizedTypeName's typeArguments contains only the given TypeName elements in Collection and nothing else in whatever order.
|
S |
hasOnlyTypeArguments(com.squareup.javapoet.TypeName... typeArguments)
Verifies that the actual ParameterizedTypeName's typeArguments contains only the given TypeName elements and nothing else in whatever order.
|
S |
hasRawType(com.squareup.javapoet.ClassName rawType)
Verifies that the actual ParameterizedTypeName's rawType is equal to the given one.
|
S |
hasTypeArguments(Collection<? extends com.squareup.javapoet.TypeName> typeArguments)
Verifies that the actual ParameterizedTypeName's typeArguments contains the given TypeName elements in Collection.
|
S |
hasTypeArguments(com.squareup.javapoet.TypeName... typeArguments)
Verifies that the actual ParameterizedTypeName's typeArguments contains the given TypeName elements.
|
doesNotHaveAnnotations, doesNotHaveAnnotations, hasAnnotations, hasAnnotations, hasNoAnnotations, hasOnlyAnnotations, hasOnlyAnnotations, isAnnotated, isBoxedPrimitive, isNotAnnotated, isNotBoxedPrimitive, isNotPrimitive, isPrimitiveas, 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, withThreadDumpOnErrorprotected AbstractParameterizedTypeNameAssert(A actual, Class<S> selfType)
AbstractParameterizedTypeNameAssert to make assertions on actual ParameterizedTypeName.actual - the ParameterizedTypeName we want to make assertions on.public S hasRawType(com.squareup.javapoet.ClassName rawType)
rawType - the given rawType to compare the actual ParameterizedTypeName's rawType to.AssertionError - - if the actual ParameterizedTypeName's rawType is not equal to the given one.public S hasTypeArguments(com.squareup.javapoet.TypeName... typeArguments)
typeArguments - the given elements that should be contained in actual ParameterizedTypeName's typeArguments.AssertionError - if the actual ParameterizedTypeName's typeArguments does not contain all given TypeName elements.public S hasTypeArguments(Collection<? extends com.squareup.javapoet.TypeName> typeArguments)
typeArguments - the given elements that should be contained in actual ParameterizedTypeName's typeArguments.AssertionError - if the actual ParameterizedTypeName's typeArguments does not contain all given TypeName elements.public S hasOnlyTypeArguments(com.squareup.javapoet.TypeName... typeArguments)
typeArguments - the given elements that should be contained in actual ParameterizedTypeName's typeArguments.AssertionError - if the actual ParameterizedTypeName's typeArguments does not contain all given TypeName elements.public S hasOnlyTypeArguments(Collection<? extends com.squareup.javapoet.TypeName> typeArguments)
typeArguments - the given elements that should be contained in actual ParameterizedTypeName's typeArguments.AssertionError - if the actual ParameterizedTypeName's typeArguments does not contain all given TypeName elements.public S doesNotHaveTypeArguments(com.squareup.javapoet.TypeName... typeArguments)
typeArguments - the given elements that should not be in actual ParameterizedTypeName's typeArguments.AssertionError - if the actual ParameterizedTypeName's typeArguments contains any given TypeName elements.public S doesNotHaveTypeArguments(Collection<? extends com.squareup.javapoet.TypeName> typeArguments)
typeArguments - the given elements that should not be in actual ParameterizedTypeName's typeArguments.AssertionError - if the actual ParameterizedTypeName's typeArguments contains any given TypeName elements.public S hasNoTypeArguments()
AssertionError - if the actual ParameterizedTypeName's typeArguments is not empty.Copyright © 2019 Mulesoft. All rights reserved.