Interface UnmodifiableMapTests.PutAllTests<K,V>
-
- Type Parameters:
K- The key type of the map to test.V- The value type of the map to test.
- All Superinterfaces:
MapTests<K,V>,UnmodifiableMapTests<K,V>
- Enclosing interface:
- UnmodifiableMapTests<K,V>
@DisplayName("putAll(Map)") public static interface UnmodifiableMapTests.PutAllTests<K,V> extends UnmodifiableMapTests<K,V>
Contains tests forMap.putAll(Map)for unmodifiable maps.- Author:
- Rob Spoor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
MapTests.ContainsKeyTests<K,V>, MapTests.ContainsValueTests<K,V>, MapTests.EqualsArgumentsProvider, MapTests.EqualsTests<K,V>, MapTests.ForEachTests<K,V>, MapTests.GetOrDefaultTests<K,V>, MapTests.GetTests<K,V>, MapTests.HashCodeTests<K,V>, MapTests.RemoveArgumentsProvider, MapTests.RemoveExactValueArgumentsProvider
-
Nested classes/interfaces inherited from interface com.github.robtimus.junit.support.test.collections.UnmodifiableMapTests
UnmodifiableMapTests.ClearTests<K,V>, UnmodifiableMapTests.ComputeIfAbsentTests<K,V>, UnmodifiableMapTests.ComputeIfPresentTests<K,V>, UnmodifiableMapTests.ComputeTests<K,V>, UnmodifiableMapTests.EntrySetTests<K,V>, UnmodifiableMapTests.KeySetTests<K,V>, UnmodifiableMapTests.MergeTests<K,V>, UnmodifiableMapTests.PutAllTests<K,V>, UnmodifiableMapTests.PutIfAbsentTests<K,V>, UnmodifiableMapTests.PutTests<K,V>, UnmodifiableMapTests.RemoveExactValueTests<K,V>, UnmodifiableMapTests.RemoveTests<K,V>, UnmodifiableMapTests.ReplaceAllTests<K,V>, UnmodifiableMapTests.ReplaceExactValueTests<K,V>, UnmodifiableMapTests.ReplaceTests<K,V>, UnmodifiableMapTests.ValuesTests<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UnaryOperator<V>replaceValueOperator()Returns a unary operator that can be used to create new values to set withMap.put(Object, Object).default voidtestPutAllWithContainedEntries()default voidtestPutAllWithEmptyMap()default voidtestPutAllWithMapWithNullKey()default voidtestPutAllWithMapWithNullValue()default voidtestPutAllWithNonContainedEntries()default voidtestPutAllWithNull()default voidtestPutAllWithUpdatedEntries()-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
expectedEntries, map, nonContainedEntries
-
-
-
-
Method Detail
-
replaceValueOperator
UnaryOperator<V> replaceValueOperator()
Returns a unary operator that can be used to create new values to set withMap.put(Object, Object).- Returns:
- A unary operator that can be used to create new values to set with
Map.put(Object, Object).
-
testPutAllWithContainedEntries
@Test @DisplayName("putAll(Map) with contained entries") default void testPutAllWithContainedEntries()
-
testPutAllWithUpdatedEntries
@Test @DisplayName("putAll(Object, Object) with updated entries") default void testPutAllWithUpdatedEntries()
-
testPutAllWithNonContainedEntries
@Test @DisplayName("putAll(Map) with non-contained entries") default void testPutAllWithNonContainedEntries()
-
testPutAllWithEmptyMap
@Test @DisplayName("putAll(Map) with an empty map") default void testPutAllWithEmptyMap()
-
testPutAllWithNull
@Test @DisplayName("putAll(Collection) with null") default void testPutAllWithNull()
-
testPutAllWithMapWithNullKey
@Test @DisplayName("putAll(Map) with a map with a null key") default void testPutAllWithMapWithNullKey()
-
testPutAllWithMapWithNullValue
@Test @DisplayName("putAll(Object, Object) with a map with a null value") default void testPutAllWithMapWithNullValue()
-
-