public class ProxyableMapAssert<KEY,VALUE> extends AbstractMapAssert<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>,KEY,VALUE>
Maps without any final methods to allow proxying.actual, info, myself, throwUnsupportedExceptionOnEquals| Constructor and Description |
|---|
ProxyableMapAssert(Map<KEY,VALUE> actual) |
| Modifier and Type | Method and Description |
|---|---|
protected <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
newListAssertInstance(List<? extends ELEMENT> newActual)
Create a
AbstractListAssert. |
allSatisfy, anySatisfy, as, as, contains, containsAllEntriesOf, containsAnyOf, containsEntry, containsExactly, containsExactlyEntriesOf, containsKey, containsKeys, containsOnly, containsOnlyKeys, containsOnlyKeys, containsValue, containsValues, describedAs, describedAs, doesNotContain, doesNotContainEntry, doesNotContainKey, doesNotContainKeys, doesNotContainValue, doesNotHave, doesNotHaveSameClassAs, extracting, extractingFromEntries, extractingFromEntries, flatExtracting, has, hasEntrySatisfying, hasEntrySatisfying, hasEntrySatisfying, hasEntrySatisfying, hasKeySatisfying, hasSameClassAs, hasSameSizeAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, hasToString, hasValueSatisfying, is, isEmpty, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEmpty, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNullOrEmpty, isOfAnyClassIn, isSameAs, noneSatisfy, overridingErrorMessage, size, usingComparator, usingComparator, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, withFailMessage, withThreadDumpOnErrorextracting, extracting, extracting, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveComparison, usingRecursiveComparisonasList, asString, descriptionText, equals, failWithMessage, getWritableAssertionInfo, hashCode, hasSameHashCodeAs, inBinary, inHexadecimal, isInstanceOfSatisfying, isNull, matches, matches, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, withRepresentationprotected <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> newListAssertInstance(List<? extends ELEMENT> newActual)
AbstractAssertAbstractListAssert.
Implementations need to redefine either to be proxy friendly (i.e. no final assertion methods like ProxyableListAssert)
or generic vararg friendly (to use SafeVarargs annotation which requires final method)like ListAssert.
The default implementation will assume that this concrete implementation is NOT a soft assertion.
newListAssertInstance in class AbstractAssert<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>>ELEMENT - the type of elements.newActual - new valueAbstractListAssert.Copyright © 2014–2019 AssertJ. All rights reserved.