public void GetText_Returns_SelectFormatedText() { var mapping = new FormatedPersonMap(); mapping.ExecuteMapping(); var select = new QueryPlan(mapping, null, null); select.CreatePlanParameter().SqlText.ToUpper().Should().Be("SELECT ID, ASBINARY(NAME) AS NAME, AGE FROM PERSON"); }
public void GetText_Returns_SelectFormatedText() { var mapping = new FormatedPersonMap(); mapping.ExecuteMapping(); var select = new QueryPlan(mapping, null, null); select.CreatePlanParameter().SqlText.ToUpper().Should().Be("SELECT ID, ASBINARY(NAME) AS NAME, AGE FROM PERSON"); }