public void AddNegativeLookaheadAssertionTest() { // Arrange var regexGenerator = new RegexGenerator(); // Act regexGenerator.AddNegativeLookaheadAssertion(@"a"); // Assert Assert.Equal(@"(?!a)", regexGenerator.ToString()); }