@Generated(value="assertj-assertions-generator") public abstract class AbstractTypeVariableNameAssert<S extends AbstractTypeVariableNameAssert<S,A>,A extends com.squareup.javapoet.TypeVariableName> extends AbstractTypeNameAssert<S,A>
TypeVariableName specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTypeVariableNameAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual TypeVariableName. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveBounds(Collection<? extends com.squareup.javapoet.TypeName> bounds)
Verifies that the actual TypeVariableName's bounds does not contain the given TypeName elements in Collection.
|
S |
doesNotHaveBounds(com.squareup.javapoet.TypeName... bounds)
Verifies that the actual TypeVariableName's bounds does not contain the given TypeName elements.
|
S |
hasBounds(Collection<? extends com.squareup.javapoet.TypeName> bounds)
Verifies that the actual TypeVariableName's bounds contains the given TypeName elements in Collection.
|
S |
hasBounds(com.squareup.javapoet.TypeName... bounds)
Verifies that the actual TypeVariableName's bounds contains the given TypeName elements.
|
S |
hasName(String name)
Verifies that the actual TypeVariableName's name is equal to the given one.
|
S |
hasNoBounds()
Verifies that the actual TypeVariableName has no bounds.
|
S |
hasOnlyBounds(Collection<? extends com.squareup.javapoet.TypeName> bounds)
Verifies that the actual TypeVariableName's bounds contains only the given TypeName elements in Collection and nothing else in whatever order.
|
S |
hasOnlyBounds(com.squareup.javapoet.TypeName... bounds)
Verifies that the actual TypeVariableName's bounds contains only the given TypeName elements and nothing else in whatever order.
|
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 AbstractTypeVariableNameAssert(A actual, Class<S> selfType)
AbstractTypeVariableNameAssert to make assertions on actual TypeVariableName.actual - the TypeVariableName we want to make assertions on.public S hasBounds(com.squareup.javapoet.TypeName... bounds)
bounds - the given elements that should be contained in actual TypeVariableName's bounds.AssertionError - if the actual TypeVariableName's bounds does not contain all given TypeName elements.public S hasBounds(Collection<? extends com.squareup.javapoet.TypeName> bounds)
bounds - the given elements that should be contained in actual TypeVariableName's bounds.AssertionError - if the actual TypeVariableName's bounds does not contain all given TypeName elements.public S hasOnlyBounds(com.squareup.javapoet.TypeName... bounds)
bounds - the given elements that should be contained in actual TypeVariableName's bounds.AssertionError - if the actual TypeVariableName's bounds does not contain all given TypeName elements.public S hasOnlyBounds(Collection<? extends com.squareup.javapoet.TypeName> bounds)
bounds - the given elements that should be contained in actual TypeVariableName's bounds.AssertionError - if the actual TypeVariableName's bounds does not contain all given TypeName elements.public S doesNotHaveBounds(com.squareup.javapoet.TypeName... bounds)
bounds - the given elements that should not be in actual TypeVariableName's bounds.AssertionError - if the actual TypeVariableName's bounds contains any given TypeName elements.public S doesNotHaveBounds(Collection<? extends com.squareup.javapoet.TypeName> bounds)
bounds - the given elements that should not be in actual TypeVariableName's bounds.AssertionError - if the actual TypeVariableName's bounds contains any given TypeName elements.public S hasNoBounds()
AssertionError - if the actual TypeVariableName's bounds is not empty.public S hasName(String name)
name - the given name to compare the actual TypeVariableName's name to.AssertionError - - if the actual TypeVariableName's name is not equal to the given one.Copyright © 2019 Mulesoft. All rights reserved.