public void Contains() { HsqlParameterCollection testSubject = NewTestSubject(); object value = new HsqlParameter("foo", "bar"); testSubject.Add(value); bool containsValue = testSubject.Contains(value); string parameterName = "foo"; bool containsNamedParameter = testSubject.Contains(parameterName); Assert.Fail("TODO"); }
public void RemoveAt() { HsqlParameterCollection testSubject = NewTestSubject(); testSubject.Add(new HsqlParameter("foo", "bar")); testSubject.Add(new HsqlParameter("foo2", "bar")); Assert.That(testSubject.Contains("foo")); Assert.That(testSubject.Contains("foo2")); testSubject.RemoveAt(0); testSubject.RemoveAt("foo2"); Assert.That(!testSubject.Contains("foo")); Assert.That(!testSubject.Contains("foo2")); Assert.Fail("TODO"); }