public void FileNamePartial() { var id = Guid.NewGuid(); var n = new Naming(); var result = n.FileNamePartial(id); Assert.IsTrue(result.StartsWith(id.ToString())); Assert.IsTrue(result.Contains("{0}")); Assert.IsTrue(result.Contains("{1}")); }