public void DefaultConstructDatabaseAddress() { Asat.Tools.DatabaseAddress dba = new Asat.Tools.DatabaseAddress(); Assert.AreEqual(dba.GetServerName(), string.Empty); Assert.AreEqual(dba.GetDatabaseName(), string.Empty); }
public void SpecifiedConstructDatabaseAddress() { Asat.Tools.DatabaseAddress dba = new Asat.Tools.DatabaseAddress("a", "b"); Assert.AreEqual(dba.GetServerName(), "a"); Assert.AreEqual(dba.GetDatabaseName(), "b"); }