### Question:
ClassBuilder { public byte[] build(ClassDef classDef) { log.debug("Building input class: {}", classDef); ClassWriter classWriter = new ClassWriter(ClassWriter.COMPUTE_MAXS); visitClass(classDef, classWriter); visitFields(classDef.getFields(), classWriter, classDef.getAccessFlags()); if ((classDef.getAccessFlags() & Opcodes.ACC_ENUM) != 0) { visitEnumMethods(classDef, classDef.getFields(), classWriter); } else { visitMethods(classDef, classDef.getMethods(), classWriter); } classWriter.visitEnd(); return classWriter.toByteArray(); } ClassBuilder(ClassManager classManager); static void main(String[] args); byte[] build(ClassDef classDef);  }### Answer:
@Test public void canBuildSimpleClass() throws Exception { String className = "Lorg/cf/test/SimpleClass;"; ClassDef classDef = classManager.getVirtualClass(className).getClassDef(); classBuilder.build(classDef); }