Example #1
0
        public void RemoveString()
        {
            ParameterizedStringPartCollection collection = new ParameterizedStringPartCollection();

            collection.Add(new ParameterizedStringPart("somename", "somedata"));
            Assert.IsTrue(collection.Remove("somename"));
        }
Example #2
0
        public void RemovePartInexistent()
        {
            ParameterizedStringPartCollection collection = new ParameterizedStringPartCollection();
            ParameterizedStringPart           part       = new ParameterizedStringPart("literal-value");

            Assert.IsFalse(collection.Remove(part));
        }
 public void RemoveString()
 {
     ParameterizedStringPartCollection collection = new ParameterizedStringPartCollection();
     collection.Add(new ParameterizedStringPart("somename", "somedata"));
     Assert.IsTrue(collection.Remove("somename"));
 }
 public void RemoveStringInexistent()
 {
     ParameterizedStringPartCollection collection = new ParameterizedStringPartCollection();
     Assert.IsFalse(collection.Remove("literal-value"));
 }
 public void RemoveStringNull()
 {
     ParameterizedStringPartCollection collection = new ParameterizedStringPartCollection();
     Assert.IsFalse(collection.Remove((string)null));
 }
Example #6
0
        public void RemoveStringNull()
        {
            ParameterizedStringPartCollection collection = new ParameterizedStringPartCollection();

            Assert.IsFalse(collection.Remove((string)null));
        }