public void It_should_get_users() { var s = PrepMethods.PrepareStorm(); StormDataSet result; using (var stormConnection = s.OpenConnection(PrepMethods.PrepareDB())) { using (var tran = stormConnection.BeginTransaction()) { result = tran.Projection("User") .Select("ID") .Select("FirstName") .Select("LastName") .Execute(); } } Assert.Equal(20, result.Count()); }
public TestingResultReader() { storm = PrepMethods.PrepareStorm(); }