generate method
Generates the complete unit test file content.
Implementation
String generate() {
return UnitTestTemplate.generate(
className: className,
importPath: importPath,
methods: methods,
isTopLevel: isTopLevel,
mockClassName: mockClassName,
mockImportPath: mockImportPath,
);
}