Interface MapTests.ComputeIfPresentTests<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("computeIfPresent(Object, BiFunction)")
    public static interface MapTests.ComputeIfPresentTests<K,​V>
    extends MapTests<K,​V>
    Author:
    Rob Spoor
    • Method Detail

      • testComputeIfPresent

        @Test
        @DisplayName("computeIfPresent(Object, BiFunction)")
        default void testComputeIfPresent()
      • testComputeIfPresentWithFunctionReturningNull

        @Test
        @DisplayName("computeIfPresent(Object, BiFunction) with function returning null")
        default void testComputeIfPresentWithFunctionReturningNull()
      • testComputeIfPresentWithThrowingFunction

        @Test
        @DisplayName("computeIfPresent(Object, BiFunction) with throwing function")
        default void testComputeIfPresentWithThrowingFunction()
      • testComputeIfPresentWithNullFunction

        @Test
        @DisplayName("computeIfPresent(Object, BiFunction) with null function")
        default void testComputeIfPresentWithNullFunction()