session property
The AnalysisSession for the test package's testFile, after applying
any pending file changes.
Implementation
Future<AnalysisSession> get session async {
var analysisContext = contextFor2(testFile);
await analysisContext.applyPendingFileChanges();
return analysisContext.currentSession;
}