### Question:
JavaEnumBuilderImpl extends BaseBuilder implements JavaEnumBuilder { @Override public void setJavaDoc(String comment) { if (StringUtils.isNotEmpty(comment)) { declaration.setJavadocComment( JavadocUtils.createJavadocComment(comment, INDENTATION_NO_INDENTATION)); } } JavaEnumBuilderImpl(String packageName, String name); void addEnumConstant(String name, String value); @Override void setJavaDoc(String comment); @Override String getName();  }### Answer:
@Test public void testBasicEnum() throws IOException { Capture<CompilationUnit> compilationUnitCapture = Capture.newInstance(); sourceProject.addCompilationUnit(eq(PACKAGE), eq(NAME), capture(compilationUnitCapture)); javaEnumBuilder.setJavaDoc(""); replayAll(); javaEnumBuilder.build(sourceProject); assertEquals( "package com.github.kklisura;\n" + "\n" + "import com.fasterxml.jackson.annotation.JsonProperty;\n" + "\n" + "public enum EnumName {\n" + "}\n", compilationUnitCapture.getValue().toString()); verifyAll(); }