MultimapSubject
.@Deprecated public final class ListMultimapSubject extends MultimapSubject
Multimap
subjects for ListMultimap
subjects.MultimapSubject.UsingCorrespondence<A,E>
Subject.Factory<SubjectT extends Subject,ActualT>
Modifier and Type | Method and Description |
---|---|
void |
isEqualTo(SetMultimap<?,?> other)
Deprecated.
A SetMultimap can never compare equal with a ListMultimap if either Multimap is
non-empty, because
Set and List can never compare equal. Prefer
MultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap)
instead. Consult Multimap.equals(java.lang.Object) for more information. |
ListMultimapSubject |
named(String format,
Object... args)
Deprecated.
|
comparingValuesUsing, containsAtLeast, containsAtLeastEntriesIn, containsEntry, containsExactly, containsExactly, containsExactlyEntriesIn, containsKey, doesNotContainEntry, doesNotContainKey, hasSize, isEmpty, isEqualTo, isNotEmpty, valuesForKey
actual, actualAsString, actualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString
@Deprecated public ListMultimapSubject named(String format, Object... args)
Subject
toString()
representation, e.g. boolean.
Writing assertThat(foo).named("foo").isTrue();
then results in a more reasonable error
message.
named()
takes a format template and argument objects which will be substituted into
the template using Strings.lenientFormat
.
Note this only supports the %s
specifier.
named
in class Subject<MultimapSubject,Multimap<?,?>>
format
- a template with %s
placeholdersargs
- the object parameters which will be applied to the message template.@Deprecated public void isEqualTo(@NullableDecl SetMultimap<?,?> other)
Set
and List
can never compare equal. Prefer
MultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap)
instead. Consult Multimap.equals(java.lang.Object)
for more information.Copyright © 2019. All rights reserved.