Exemplo n.º 1
0
 public void ConvertSchemaToInterfaceTest()
 {
     Assert.AreEqual("IDbo", _nameConverter.ConvertSchemaToInterface("dbo"));
     Assert.AreEqual("IOrm", _nameConverter.ConvertSchemaToInterface("orm"));
     Assert.AreEqual("IA", _nameConverter.ConvertSchemaToInterface("a"));
     Assert.AreEqual("ISchemaName", _nameConverter.ConvertSchemaToInterface("SchemaName"));
     Assert.AreEqual("IA", _nameConverter.ConvertSchemaToInterface("a"));
     Assert.AreEqual(string.Empty, _nameConverter.ConvertSchemaToInterface(string.Empty));
     Assert.AreEqual(null, _nameConverter.ConvertSchemaToInterface(null));
 }