testGenerateStubClassStructure
refactor