assertEquals(expectedSimplifications, actualSimplifications);
}
public void testSimplifyMultipleBounds() {
TypeElement multipleBoundsElement = typeElementOf("MultipleBounds");
TypeMirror multipleBoundsMirror = multipleBoundsElement.asType();
TypeSimplifier typeSimplifier = new TypeSimplifier(typeUtil, "",
typeMirrorSet(multipleBoundsMirror), baseWithoutContainedTypes());
assertEquals(ImmutableSet.of("java.util.List"), typeSimplifier.typesToImport());
assertEquals("MultipleBounds<K, V>", typeSimplifier.simplify(multipleBoundsMirror));
assertEquals("<K extends List<V> & Comparable<K>, V>",