Interface UnmodifiableMapTests.PutIfAbsentTests<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>
    Enclosing interface:
    UnmodifiableMapTests<K,​V>

    @DisplayName("putIfAbsent(Object, Object)")
    public static interface UnmodifiableMapTests.PutIfAbsentTests<K,​V>
    extends MapTests<K,​V>
    Contains tests for Map.putIfAbsent(Object, Object) for unmodifiable maps.
    Author:
    Rob Spoor
    • Method Detail

      • testPutIfAbsent

        @Test
        @DisplayName("putIfAbsent(Object, Object)")
        default void testPutIfAbsent()