1. use compilation unit working copy for modifying AST 2.Checking
selection type before generating test case.