final Iterator<Method> iterator = methods.iterator();
while (iterator.hasNext()) {
final Method testMethod = iterator.next();
body.addTestMethod(testMethod);
context.debug("Adding test method " + testMethod);
}
}
protected void throwTestMethodDoesntReturnVoid(final Method method) {
throw new TestBuilderGeneratorException("The test method should return void and not " + method.getReturnType() + ", method: "