public class CommentHelperTests: IClassFixture { private readonly TestFixture fixture; public CommentHelperTests(TestFixture fixture, ITestOutputHelper output) { this.fixture = fixture; this.fixture.Initialize(output); } [Fact] public void SpilitNameAndToLower_KeepsAllUpperCaseWordsInProperCasing() { fixture.RegisterCallback(nameof(SpilitNameAndToLower_KeepsAllUpperCaseWordsInProperCasing), (o) => o.ExcludeAsyncSuffix = true); var result = tHelper.SpilitNameAndToLower("ExecuteOCRActionAsync", true); result.Count.Should().Be(3); } [Fact] public void SpilitNameAndToLower_KeepsAllUpperCaseWordsInProperCasingAddsAsyncToListWhenOptionFalse() { fixture.RegisterCallback(nameof(SpilitNameAndToLower_KeepsAllUpperCaseWordsInProperCasingAddsAsyncToListWhenOptionFalse), (o) => o.ExcludeAsyncSuffix = false); var result = Helper.SpilitNameAndToLower("ExecuteOCRActionAsync", true); result.Count.Should().Be(4); result[0].All(a => char.IsLower(a)).Sho } }