Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        NotInstantiable x = new NotInstantiable();
        tester.setDefault(NotInstantiable.class, x);
        assertThat(tester.instantiate(ConstructorParameterNotInstantiable.class)).isNotNull();
      }
    
      public void testSetDistinctValues_equalInstances() {
        assertThrows(
            IllegalArgumentException.class, () -> tester.setDistinctValues(String.class, "", ""));
      }
    
      public void testInstantiate_setDistinctValues() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
Back to top