public void when_values_differ_in_case_iequals_should_match() { var data = "Test"; var query = "TEST"; var record = PowerShellEvent.CreateRecord(data, String.Empty, String.Empty); var predicate = UnicodeString.IEquals(PowerShellEvent.UserData, query); Assert.IsTrue(predicate.Test(record)); }