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

      • testCompute

        @Test
        @DisplayName("compute(Object, BiFunction)")
        default void testCompute()
      • testComputeWithFunctionReturningNull

        @Test
        @DisplayName("compute(Object, BiFunction) with function returning null")
        default void testComputeWithFunctionReturningNull()
      • testComputeWithThrowingFunction

        @Test
        @DisplayName("compute(Object, BiFunction) with throwing function")
        default void testComputeWithThrowingFunction()
      • testComputeWithNullFunction

        @Test
        @DisplayName("compute(Object, BiFunction) with null function")
        default void testComputeWithNullFunction()