Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInstantiate_setDefault (0.74 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        assertNull(tester.instantiate(AbstractList.class));
      }
    
      public void testInstantiate_annotation() throws Exception {
        assertNull(tester.instantiate(MyAnnotation.class));
      }
    
      public void testInstantiate_setDefault() throws Exception {
        NotInstantiable x = new NotInstantiable();
        tester.setDefault(NotInstantiable.class, x);
        assertNotNull(tester.instantiate(ConstructorParameterNotInstantiable.class));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top