Package org.assertj.core.api
Class ProxyableMapAssert<KEY,VALUE>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
-
- org.assertj.core.api.AbstractObjectAssert<SELF,ACTUAL>
-
- org.assertj.core.api.AbstractMapAssert<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>,KEY,VALUE>
-
- org.assertj.core.api.ProxyableMapAssert<KEY,VALUE>
-
- All Implemented Interfaces:
Assert<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>>
,Descriptable<ProxyableMapAssert<KEY,VALUE>>
,EnumerableAssert<ProxyableMapAssert<KEY,VALUE>,Map.Entry<? extends KEY,? extends VALUE>>
,ExtensionPoints<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>>
public class ProxyableMapAssert<KEY,VALUE> extends AbstractMapAssert<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>,KEY,VALUE>
Concrete assertions forMap
s without any final methods to allow proxying.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractMapAssert
maps
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, info, myself, objects, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description ProxyableMapAssert(Map<KEY,VALUE> actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>>
newListAssertInstance(List<? extends ELEMENT> newActual)
Create aAbstractListAssert
.-
Methods inherited from class org.assertj.core.api.AbstractMapAssert
allSatisfy, anySatisfy, as, as, contains, containsAllEntriesOf, containsAnyOf, containsEntry, containsExactly, containsExactlyEntriesOf, containsExactlyInAnyOrderEntriesOf, containsKey, containsKeys, containsOnly, containsOnlyKeys, containsOnlyKeys, containsValue, containsValues, describedAs, describedAs, doesNotContain, doesNotContainEntry, doesNotContainKey, doesNotContainKeys, doesNotContainValue, doesNotHave, doesNotHaveSameClassAs, extracting, extracting, extractingByKey, extractingByKey, extractingByKeys, 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, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withThreadDumpOnError
-
Methods inherited from class org.assertj.core.api.AbstractObjectAssert
extracting, extracting, extracting, extracting, extracting, extracting, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, withAssertionState, withComparatorByPropertyOrField, withTypeComparator
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, descriptionText, equals, extracting, extracting, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, hashCode, hasSameHashCodeAs, inBinary, inHexadecimal, isInstanceOfSatisfying, isNull, matches, matches, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, withRepresentation
-
-
-
-
Method Detail
-
newListAssertInstance
protected <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> newListAssertInstance(List<? extends ELEMENT> newActual)
Description copied from class:AbstractAssert
Create aAbstractListAssert
.Implementations need to redefine either to be proxy friendly (i.e. no final assertion methods like
ProxyableListAssert
) or generic vararg friendly (to useSafeVarargs
annotation which requires final method)likeListAssert
.The default implementation will assume that this concrete implementation is NOT a soft assertion.
- Overrides:
newListAssertInstance
in classAbstractAssert<ProxyableMapAssert<KEY,VALUE>,Map<KEY,VALUE>>
- Type Parameters:
ELEMENT
- the type of elements.- Parameters:
newActual
- new value- Returns:
- a new
AbstractListAssert
.
-
-