public void QueryParameterContainer_Read_Test() { var container = new QueryParametersContainer { FileName = Path.Combine("..\\..\\TestFiles", Constants.QueryCacheFileName), }; container.Read(); Assert.AreEqual(10, container.Get().Count); }
public void QueryParameterContainer_Write_Test() { var container = new QueryParametersContainer { FileName = "TestQueryParametersBinary.dat", }; container.Data = CreateTestList(); container.Write(); container.Data = null; container.Read(); ValidateTestList(container.Data); }