test/com/google/javascript/jscomp/DisambiguatePropertiesTest.java
/**
   * Compiles the code and checks that the set of types for each field matches
   * the expected value.
   *
   * <p>The format for the set of types for fields is:
   * {field=[[Type1, Type2]]}
   */
Compiles the code and checks that the set of types for each field matches
the expected value.

The format for the set of types for fields is:
{field=[[Type1, Type2]]}
Compiles the code and checks that the set of types for each field matches the expected value . The format for the set of types for fields is : { field = [[ Type1 Type2 ]] }
private void testSets(String js, final String fieldTypes, DiagnosticType warning) {
    test(
        srcs(js),
        warning(warning),
        (Postcondition)
            unused -> assertEquals(fieldTypes, mapToString(lastPass.getRenamedTypesForTesting())));
  }
private void testSets ( String js , final String fieldTypes , DiagnosticType warning ) { test ( srcs ( js ) , warning ( warning ) , ( Postcondition ) unused -> assertEquals ( fieldTypes , mapToString ( lastPass . getRenamedTypesForTesting ( ) ) ) ) ; }
Compiles the code and checks that the set of types for each field matches
 the expected value.
Compiles the code and checks that the set of types for each field matches the expected value .