public interface MapFluent<K,V,Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>> extends org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value,BaseFluent,TheFluent,This>, ObjectFluent<Value,BaseFluent,TheFluent,This>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MapFluent.AndChain<K,V,Value extends Map<K,V>,TheFluent,This extends MapFluent.AndChain<K,V,Value,TheFluent,This>> |
static class |
MapFluent.Assert<K,V,Value extends Map<K,V>> |
static interface |
MapFluent.OrChain<K,V,Value extends Map<K,V>,TheFluent,This extends MapFluent.OrChain<K,V,Value,TheFluent,This>> |
static class |
MapFluent.Step<K,V,Value extends Map<K,V>,TheFluent,This extends MapFluent.Step<K,V,Value,TheFluent,This>> |
get, get, hasToString, hasToString, isIn, isIn, isOneOf, notNullValue, nullValue, sameInstance, theInstance__, __, __, allOf, anyOf, as, as, equalTo, has, has, has, has, hasNot, hasNot, hasNot, hasNot, hasType, is, is, is, isA, isNot, isNot, isNot, noneOf, not, not, not, not, notdefault TheFluent hasEntry(K key, V value)
Maps matching when the examined Map contains
at least one entry whose key equals the specified key and whose value equals the
specified value.
For example:
assertThat(myMap, hasEntry("bar", "foo"))key - the key that, in combination with the value, must be describe at least one entryvalue - the value that, in combination with the key, must be describe at least one entryIsMapContaining.hasEntry(java.lang.Object,java.lang.Object)default TheFluent hasKey(K key)
Maps matching when the examined Map contains
at least one key that is equal to the specified key.
For example:
assertThat(myMap, hasKey("bar"))key - the key that satisfying maps must containIsMapContaining.hasKey(java.lang.Object)default TheFluent hasValue(V value)
Maps matching when the examined Map contains
at least one value that is equal to the specified value.
For example:
assertThat(myMap, hasValue("foo"))value - the value that satisfying maps must containIsMapContaining.hasValue(java.lang.Object)default CollectionFluent.Step<K,Set<K>,TheFluent,?> keys()
MapAdapters.mapKeys()default CollectionFluent.Step<V,Collection<V>,TheFluent,?> values()
MapAdapters.mapValues()default ObjectFluent.Step<V,TheFluent,?> value(Object key)
MapAdapters.value(java.lang.Object)default ObjectFluent.Step<Byte,TheFluent,?> byteValue(Object key)
MapAdapters.byteValue(java.lang.Object)default ObjectFluent.Step<Boolean,TheFluent,?> booleanValue(Object key)
MapAdapters.booleanValue(java.lang.Object)default ComparableFluent.Step<Float,Float,TheFluent,?> floatValue(Object key)
MapAdapters.floatValue(java.lang.Object)default DoubleFluent.Step<Double,TheFluent,?> doubleValue(Object key)
MapAdapters.doubleValue(java.lang.Object)default IntegerFluent.Step<Integer,TheFluent,?> intValue(Object key)
MapAdapters.intValue(java.lang.Object)default ComparableFluent.Step<Long,Long,TheFluent,?> longValue(Object key)
MapAdapters.longValue(java.lang.Object)default ObjectFluent.Step<Short,TheFluent,?> shortValue(Object key)
MapAdapters.shortValue(java.lang.Object)default StringFluent.Step<String,TheFluent,?> stringValue(Object key)
MapAdapters.stringValue(java.lang.Object)MapFluent.OrChain<K,V,Value,TheFluent,?> either()
either in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>either in interface org.cthul.matchers.fluent.FluentStep<Value extends Map<K,V>,BaseFluent>either in interface ObjectFluent<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>MapFluent.OrChain<K,V,Value,TheFluent,?> either(org.hamcrest.Matcher<? super Value> matcher)
either in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>either in interface org.cthul.matchers.fluent.FluentStep<Value extends Map<K,V>,BaseFluent>either in interface ObjectFluent<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>MapFluent.AndChain<K,V,Value,TheFluent,?> both()
both in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>both in interface org.cthul.matchers.fluent.FluentStep<Value extends Map<K,V>,BaseFluent>both in interface ObjectFluent<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>MapFluent.AndChain<K,V,Value,TheFluent,?> both(org.hamcrest.Matcher<? super Value> matcher)
both in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>both in interface org.cthul.matchers.fluent.FluentStep<Value extends Map<K,V>,BaseFluent>both in interface ObjectFluent<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>MapFluent.AndChain<K,V,Value,TheFluent,?> all()
all in interface org.cthul.matchers.fluent.ext.ExtensibleFluentStep<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>all in interface org.cthul.matchers.fluent.FluentStep<Value extends Map<K,V>,BaseFluent>all in interface ObjectFluent<Value extends Map<K,V>,BaseFluent,TheFluent extends BaseFluent,This extends MapFluent<K,V,Value,BaseFluent,TheFluent,This>>Copyright © 2015. All Rights Reserved.