public void SingleSegment() { var tableReference = new FromTable("table"); var expected = "FROM `table`"; var actual = tableReference.BuildSql(); Assert.AreEqual(expected, actual); }
public void MultiSegment() { var tableReference = new FromTable("database", "table"); var expected = "FROM `database`.`table`"; var actual = tableReference.BuildSql(); Assert.AreEqual(expected, actual); }