protected virtual void OnGenerationError(TestGenerationError testGenerationError) { if (GenerationError != null) GenerationError(testGenerationError); }
private string GenerateError(Exception ex, CodeDomHelper codeDomHelper) { TestGenerationError testGenerationError = new TestGenerationError(ex); OnGenerationError(testGenerationError); return codeDomHelper.GetErrorStatementString(testGenerationError.Message); }