public void FileSpecification_ToString_1() { FileSpecification specification = new FileSpecification(); Assert.AreEqual ( "0..", specification.ToString() ); specification.Path = IrbisPath.MasterFile; specification.FileName = "brief.pft"; Assert.AreEqual ( "2..brief.pft", specification.ToString() ); specification.Database = "IBIS"; Assert.AreEqual ( "2.IBIS.brief.pft", specification.ToString() ); specification.BinaryFile = true; Assert.AreEqual ( "*****@*****.**", specification.ToString() ); specification.BinaryFile = false; specification.Content = "Hello"; Assert.AreEqual ( "2.IBIS.&brief.pft&Hello", specification.ToString() ); }