public void ReadTest1() { var collection = new QueryParametersCollection { FileName = Path.Combine("..\\..\\TestFiles", Constants.QueryCacheFileName), }; collection.Read(); Assert.AreEqual(10, collection.Count); }
public void WriteTest1() { var collection = new QueryParametersCollection { FileName = "TestQueryParametersBinary.dat", }; collection.Data = CreateTestList(); collection.Write(); collection.Data = null; collection.Read(); ValidateTestList(collection.Data); }