assertEquals("are boring", source.getClasses()[0].getTags()[2].getValue());
}
public void testDocletTagsOnMethodsAndFields() throws Exception {
builder.addJavaDoc("");
builder.addJavaDocTag(new TagDef("cheese", "is good"));
builder.beginClass(new ClassDef());
builder.addJavaDoc("");
builder.addJavaDocTag(new TagDef("food", "is great"));
builder.addMethod(new MethodDef());
builder.addJavaDoc("");
builder.addJavaDocTag(new TagDef("chairs", "are boring"));
builder.addField(new FieldDef());
builder.endClass();
JavaSource source = builder.getSource();