### Question:
PcodeTextEmitter { public static void emitPopCat1Value(StringBuilder pCode, String destName){ pCode.append(destName); pCode.append(":4 = *:4 SP;\nSP = SP + 4;\n"); } private  PcodeTextEmitter(); static void emitPushCat1Value(StringBuilder pCode, String valueName); static void emitPushCat2Value(StringBuilder pCode, String valueName); static void emitPopCat2Value(StringBuilder pCode, String destName); static void emitPopCat1Value(StringBuilder pCode, String destName); static void emitAssignVarnodeFromPcodeOpCall(StringBuilder pCode, String varnodeName, int size, String pcodeop, String... args); static void emitVoidPcodeOpCall(StringBuilder pCode, String pcodeop, String... args); static void emitAssignConstantToRegister(StringBuilder pCode, String register, int constant); static void emitAssignRegisterFromPcodeOpCall(StringBuilder pCode, String register, String pcodeop, String... args); static void emitLabelDefinition(StringBuilder pCode, String caseName); static void emitWriteToMemory(StringBuilder pCode, String space, int size, String offset, String value); static void emitIndirectCall(StringBuilder pCode, String target); static void emitAddToStackPointer(StringBuilder pCode, int amount); static void emitSignExtension(StringBuilder pCode, String dest, int size, String src); static void emitZeroExtension(StringBuilder pCode, String dest, int size, String src); static void emitTruncate(StringBuilder pCode, String dest, int size, String src);  }### Answer:
@Test public void testEmitPopType1Value(){ StringBuilder pCode = new StringBuilder(); PcodeTextEmitter.emitPopCat1Value(pCode, "x"); assertTrue(pCode.toString().equals("x:4 = *:4 SP;\nSP = SP + 4;\n")); }