void () { myFixture.addClass("package org.junit;" + "public class Assert {" + " public static void assertTrue(boolean b) {}" + "}"); myFixture.addClass("package org.testng;" + "public class Assert {" + " public static void assertTrue(boolean b) {}" + "}"); myFixture.addClass(""" package com.google.common.base; public interface Supplier<T> { T get();} """); myFixture.addClass(""" package com.google.common.base; public interface Function<F, T> { T apply(F input);} """); myFixture.addClass(""" package com.google.common.base; public abstract class Optional<T> { public static <T> Optional<T> absent() {} public static <T> Optional<T> of(T ref) {} public static <T> Optional<T> fromNullable(T ref) {} public abstract T get(); public abstract boolean isPresent(); public abstract T orNull(); public abstract T or(Supplier<? extends T> supplier); public abstract <V> Optional<V> transform(Function<? super T, V> fn); public abstract T or(T val); public abstract java.util.Optional<T> toJavaUtil(); }"""); }