public void GetTableColumnTestInt() { AAContext context = new AAContext(); string notExpected = string.Empty; string actual = string.Empty; actual = context.GetColumn <string>("select CAST(ID AS VARCHAR(10)) from [user]"); Assert.AreNotEqual(notExpected, actual); }
public void GetTableColumnTest() { AAContext context = new AAContext(); string notExpected = string.Empty; string actual = string.Empty; actual = context.GetColumn <string>("select username from [user]"); Assert.AreNotEqual(notExpected, actual); }