Answers.RETURNS_DEEP_STUBS.get());
when(clazz.getOwnedTemplateSignature()).thenReturn(templateSignature);
when(templateSignature.getParameters()).thenReturn(templateParameters);
AST ast = AST.newAST(AST.JLS3);
CompilationUnit cu = ast.newCompilationUnit();
TypeDeclaration td = ast.newTypeDeclaration();
td.setInterface(true);
Modifier modifier = ast
.newModifier(Modifier.ModifierKeyword.PUBLIC_KEYWORD);