public void ContainsKey_returns_false_for_undefined_property(string name) { var rvm = new Rv.Message(); var headers = new ReadOnlyRvMessageHeaders(rvm); Assert.IsFalse(headers.ContainsKey(name)); }
public void ContainsKey_returns_true_for_defined_int_property(string name, int value) { var rvm = new Rv.Message(); rvm.AddField(name, value); var headers = new ReadOnlyRvMessageHeaders(rvm); Assert.IsTrue(headers.ContainsKey(name)); }