public void InterfaceToString_NameProvided() { var name = "name"; IEntityName tableName = new EntityName(name); Assert.AreEqual($"[{name}]", tableName.ToString()); }
public void InterfaceToString_SchemaAndNameProvided() { var schema = "schema"; var name = "name"; EntityName tableName = new EntityName(schema, name); Assert.AreEqual($"[{schema}].[{name}]", tableName.ToString()); }