Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testJoinWithMultiCharDelimiter (0.1 seconds)

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

            String result = StringUtil.join("", "hello", "world");
            assertEquals("helloworld", result);
        }
    
        @Test
        @DisplayName("Should join with multi-character delimiter")
        void testJoinWithMultiCharDelimiter() {
            String result = StringUtil.join(" - ", "apple", "banana", "cherry");
            assertEquals("apple - banana - cherry", result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top