void () { doTest( """ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; class Test{ void test() throws IOException { ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); ObjectOutputStream oos; oos = new ObjectOutputStream(outputStream); } }"""); }