Interface UnmodifiableCollectionTests.RetainAllTests<T>

    • Method Detail

      • testRetainAllWithContainedElements

        @Test
        @DisplayName("retainAll(Collection) with contained elements")
        default void testRetainAllWithContainedElements()
      • testRetainAllWithNonContainedElements

        @Test
        @DisplayName("retainAll(Collection) with non-contained elements")
        default void testRetainAllWithNonContainedElements()
      • testRetainAllWithAllContainedElements

        @Test
        @DisplayName("retainAll(Collection) with all contained elements")
        default void testRetainAllWithAllContainedElements()
      • testRetainAllWithNull

        @Test
        @DisplayName("retainAll(Object) with null")
        default void testRetainAllWithNull()
      • testRetainAllWithNullElement

        @Test
        @DisplayName("retainAll(Object) with null element")
        default void testRetainAllWithNullElement()
      • testRetainAllWithIncompatibleObject

        @Test
        @DisplayName("retainAll(Object) with an incompatible object")
        default void testRetainAllWithIncompatibleObject()