void () { myFixture.addFileToProject("java/util/regex/Pattern.java", """ package java.util.regex; public final class Pattern { public static Pattern compile(String regex) {return new Pattern();} public Matcher matcher(CharSequence input){return new Matcher();} public static boolean matches(String regex, CharSequence input) {return true;} }"""); myFixture.addFileToProject("java/util/regex/Matcher.java", """ package java.util.regex; public final class Matcher { public boolean matches() {return true;} } """); doTest(); }