public void can_get_reader_from_sql_text() { var dbhelper = new DbHelper(_connectionString); int count = 0; using (var reader = dbhelper.ExecuteReader("select id, label from addresstype")) { while (reader.Read()) { count++; } } Assert.AreEqual(2, count); }