public async Task AnalyzeWhenClassIsStereotypeAndMethodIsADataPortalOperationThatIsPublicAndClassIsSealed()
 {
     await IsOperationMethodPublicAnalyzerTests.RunAnalysis(
         $@"Targets\{nameof(IsOperationMethodPublicAnalyzerTests)}.{(nameof(this.AnalyzeWhenClassIsStereotypeAndMethodIsADataPortalOperationThatIsPublicAndClassIsSealed))}.cs",
         1, diagnostics => Assert.AreEqual(true.ToString(), diagnostics[0].Properties[IsOperationMethodPublicAnalyzerConstants.IsSealed]));
 }
 private static async Task RunAnalysisAsync(string path, int expectedDiagnosticCount)
 {
     await IsOperationMethodPublicAnalyzerTests.RunAnalysis(path, expectedDiagnosticCount, null);
 }