public void TestRemoveByObjectDoesNotRemoveLiteralMatches() { var c = new TripleCollection(); c.AddRange(new[] { T2, T3 }); c.RemoveByObject("http://example.org/o"); Assert.AreEqual(1, c.Count()); Assert.IsTrue(c.Items.Any(x => x.Equals(T3))); }