@@ -0,0 +1,1563 @@
+package squeek.asmhelper;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport java.net.URL;%0Aimport net.minecraft.launchwrapper.LaunchClassLoader;%0Aimport org.junit.Test;%0Aimport cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper;%0A%0Apublic class TestObfHelper%0A%7B%0A%09public static final String MINECRAFT_VERSION = %221.7.10%22;%0A%0A%09private static final FMLDeobfuscatingRemapper remapper = FMLDeobfuscatingRemapper.INSTANCE;%0A%09static%0A%09%7B%0A%09%09remapper.setup(null, new LaunchClassLoader(new URL%5B%5D%7B%7D), %22/deobfuscation_data-%22 + MINECRAFT_VERSION + %22.lzma%22);%0A%09%7D%0A%0A%09public static final String deobfClassName = %22net.minecraft.item.ItemStack%22;%0A%09public static final String deobfInternalClassName = deobfClassName.replace('.', '/');%0A%09public static final String deobfDescriptor = %22L%22 + deobfInternalClassName + %22;%22;%0A%0A%09public static final String obfClassName = %22add%22;%0A%09public static final String obfInternalClassName = obfClassName.replace('.', '/');%0A%09public static final String obfDescriptor = %22L%22 + obfInternalClassName + %22;%22;%0A%0A%09@Test%0A%09public void testDescriptor()%0A%09%7B%0A%09%09ObfHelper.setObfuscated(false);%0A%09%09assertEquals(deobfDescriptor, ObfHelper.getDescriptor(deobfClassName));%0A%0A%09%09ObfHelper.setObfuscated(true);%0A%09%09assertEquals(obfDescriptor, ObfHelper.getDescriptor(deobfClassName));%0A%09%7D%0A%0A%09@Test%0A%09public void testInternalName()%0A%09%7B%0A%09%09ObfHelper.setObfuscated(false);%0A%09%09assertEquals(deobfInternalClassName, ObfHelper.getInternalClassName(deobfClassName));%0A%0A%09%09ObfHelper.setObfuscated(true);%0A%09%09assertEquals(obfInternalClassName, ObfHelper.getInternalClassName(deobfClassName));%0A%09%7D%0A%7D%0A

Add test cases for ObfHelper * Surprised I got this to work