### Question:
DrawAfterWidgets { public void inject() throws InjectionException { injectDrawAfterWidgets(); } DrawAfterWidgets(Inject inject); void inject();  }### Answer:
@Test public void testInjectDrawWidgetsRev160() throws Exception { ClassFile deobClient = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Client_deob160.class")); ClassFile deobRasterizer = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Rasterizer2D_deob160.class")); ClassGroup deob = new ClassGroup(); deob.addClass(deobClient); deob.addClass(deobRasterizer); ClassFile obClient = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Client_ob160.class")); ClassFile obRasterizer = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Rasterizer2D_ob160.class")); ClassGroup vanilla = new ClassGroup(); vanilla.addClass(obClient); vanilla.addClass(obRasterizer); Inject inject = new Inject(deob, vanilla); new DrawAfterWidgets(inject).inject(); }
@Test public void testInjectDrawWidgetsRev153() throws Exception { ClassFile deobClient = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Client_deob153.class")); ClassFile deobRasterizer = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Rasterizer2D_deob153.class")); ClassGroup deob = new ClassGroup(); deob.addClass(deobClient); deob.addClass(deobRasterizer); ClassFile obClient = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Client_ob153.class")); ClassFile obRasterizer = ClassUtil.loadClass(getClass().getResourceAsStream("/drawafterwidgets/Rasterizer2D_ob153.class")); ClassGroup vanilla = new ClassGroup(); vanilla.addClass(obClient); vanilla.addClass(obRasterizer); Inject inject = new Inject(deob, vanilla); new DrawAfterWidgets(inject).inject(); }