void () { myFixture.addClass("package java.lang; public class Process {}"); myFixture.addClass(""" import java.util. *; public class Process { } interface Pred<A> { boolean predicate(A elem); } public class ListUtils { public static <A> List<A> filter(List<A> list, Pred<A> pred) { } }"""); configure(); type('\n'); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); checkResult(); }