Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testJoinTwoElements (0.49 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

            String result = StringUtil.join(",", "hello");
            assertEquals("hello", result);
        }
    
        @Test
        @DisplayName("Should join two elements with delimiter")
        void testJoinTwoElements() {
            String result = StringUtil.join(",", "hello", "world");
            assertEquals("hello,world", result);
        }
    
        @Test
        @DisplayName("Should join multiple elements with delimiter")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top