Package | Description |
---|---|
de.tobiasroeser.lambdatest |
Modifier and Type | Method and Description |
---|---|
ExpectMap<K,V> |
ExpectMap.contains(K key,
V value)
Checks, if the map contains an entry with the given
key and value . |
ExpectMap<K,V> |
ExpectMap.containsKey(K key)
Checks, that the map contains an entry for the given key.
|
ExpectMap<K,V> |
ExpectMap.containsNotKey(K key)
Checks, that the map does not contain an entry for the given key.
|
static <K,V> ExpectMap<K,V> |
Expect.expectMap(Map<K,V> actual)
Check for non-null
Map and provides further checks on the actual
map in a fluent API. |
static <K,V> ExpectMap<K,V> |
ExpectMap.expectMap(Map<K,V> actual)
Check for non-null
Map and provides further checks on the actual
map in a fluent API. |
ExpectMap<K,V> |
ExpectMap.hasSize(int expected)
Checks, if the map has the expected size.
|
ExpectMap<K,V> |
ExpectMap.isEmpty()
Checks, if the map is empty.
|
Copyright © 2019. All rights reserved.