Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNullMap (0.41 sec)

  1. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class ArrayBasedEscaperMapTest extends TestCase {
      public void testNullMap() {
        assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top