public void Match_Wildcard() { var message = new WirehomeDictionary() .WithValue("type", "myTypeX"); var filter = new WirehomeDictionary() .WithValue("type", "*"); var compareResult = MessageBusFilterComparer.IsMatch(message, filter); Assert.IsTrue(compareResult); }
public void Match_Wildcard() { var message = new Dictionary <string, string> { ["type"] = "myTypeX" }; var filter = new Dictionary <string, string> { ["type"] = "*" }; var compareResult = MessageBusFilterComparer.IsMatch(message, filter); Assert.IsTrue(compareResult); }