protected void AssertDoesntContain( string unexpectedSubstring, string text) { if (text.Contains(unexpectedSubstring)) Assert.Fail( "Unexpected Substring: {0}\n Was found in: {1}", unexpectedSubstring, text); }