Interface UnmodifiableMapTests.ReplaceTests<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("replace(Object, Object)") public static interface UnmodifiableMapTests.ReplaceTests<K,V> extends UnmodifiableMapTests<K,V>
Contains tests forMap.replace(Object, Object)
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 Default Methods Modifier and Type Method Description default void
testReplaceWithContainedElements()
default void
testReplaceWithNonContainedElements()
default void
testReplaceWithNullKey()
default void
testReplaceWithNullValue()
-
Methods inherited from interface com.github.robtimus.junit.support.test.collections.MapTests
expectedEntries, map, nonContainedEntries
-
-
-
-
Method Detail
-
testReplaceWithContainedElements
@Test @DisplayName("replace(Object, Object) with contained elements") default void testReplaceWithContainedElements()
-
testReplaceWithNonContainedElements
@Test @DisplayName("replace(Object, Object) with non-contained elements") default void testReplaceWithNonContainedElements()
-
testReplaceWithNullKey
@Test @DisplayName("replace(Object, Object) with null key") default void testReplaceWithNullKey()
-
testReplaceWithNullValue
@Test @DisplayName("replace(Object, Object) with null value") default void testReplaceWithNullValue()
-
-