Code example for SetMultimap

Methods: sizeget

0
  } 
 
  private static void assertReplacements( 
      SuggestedFix fix, Set<CodeReplacement> expectedReplacements) {
    SetMultimap<String, CodeReplacement> replacementMap = fix.getReplacements();
    assertEquals(1, replacementMap.size());
    Set<CodeReplacement> replacements = replacementMap.get("test");
    assertEquals(expectedReplacements.size(), replacements.size());
    assertEquals(expectedReplacements, replacements);
  } 
}