Interface MapTests.ComputeIfAbsentTests<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:
    MapTests<K,​V>

    @DisplayName("computeIfAbsent(Object, Function)")
    public static interface MapTests.ComputeIfAbsentTests<K,​V>
    extends MapTests<K,​V>
    Author:
    Rob Spoor
    • Method Detail

      • testComputeIfAbsent

        @Test
        @DisplayName("computeIfAbsent(Object, Function)")
        default void testComputeIfAbsent()
      • testComputeIfAbsentWithFunctionReturningNull

        @Test
        @DisplayName("computeIfAbsent(Object, Function) with function returning null")
        default void testComputeIfAbsentWithFunctionReturningNull()
      • testComputeIfAbsentWithThrowingFunction

        @Test
        @DisplayName("computeIfAbsent(Object, Function) with throwing function")
        default void testComputeIfAbsentWithThrowingFunction()
      • testComputeIfAbsentWithNullFunction

        @Test
        @DisplayName("computeIfAbsent(Object, Function) with null function")
        default void testComputeIfAbsentWithNullFunction()