public void TestXmlRepository() { var repository = new XmlRepository(@"..\..\TestXmlRepository\Repository.xml"); var save = repository.SaveItem(_serialisableClass); Assert.IsTrue(save); var get = repository.GetItem(_serialisableClass); Assert.AreEqual(get, _serialisableClass); var items = repository.ReadItems<TestClass>(); Assert.IsTrue(items.Count > 0); var delete = repository.DeleteItem(_serialisableClass); Assert.IsTrue(delete); var missing = repository.GetItem(_serialisableClass); Assert.IsNull(missing); }