public void CaseInsensitiveParameters() { // arrange var message = new EAEPMessage(); message["monkey"] = "helloWorld"; // act var containsParameter = message.ContainsParameter("MONKEY"); // assert Assert.IsTrue(containsParameter); }
public void ContainsParameterTest() { // Arrange var message = new EAEPMessage { Host = "app1", Application = "ecommerce", Event = "purchase" }; message["value"] = "25.00"; message["currency"] = "EUR"; message["user"] = "******"; // Act / Assert Assert.IsTrue(message.ContainsParameter("currency")); Assert.IsFalse(message.ContainsParameter("bilge")); }