Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_apply_string (0.11 sec)

  1. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class BooleanFunctionTest extends UnitFessTestCase {
    
        public void test_apply_string() {
            BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty();
    
            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top