public void ToObjectStringUnescapesAttributes() { var urn = new Urn(@"Server[@Name = 'SERVER']/Database[@Name = 'quoted''db']/Table[@Name = 'quoted''Name' and @Schema = 'quoted''Schema']"); var scriptingObject = urn.ToScriptingObject(); Assert.That(scriptingObject.Type, Is.EqualTo("Table"), "Type"); Assert.That(scriptingObject.Name, Is.EqualTo("quoted'Name"), "Name"); Assert.That(scriptingObject.Schema, Is.EqualTo("quoted'Schema"), "Schema"); }