Interface UnmodifiableMapTests.ComputeIfAbsentTests<K,​V>

    • 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()