public async void BackButtonCodeFixerTest(string documentPath) { using var workspace = new AdhocWorkspace(); var actualFix = await workspace.FixSourceAsync(Language.CSharp, documentPath, ImmutableList.Create(WinUIBackButtonAnalyzer.DiagnosticId)).ConfigureAwait(false); var expectedFix = TestHelper.GetSource($"{documentPath}.Fixed"); Assert.Equal(expectedFix.Trim(), actualFix.Trim()); }