public void GetColumnAsArrayOf_Int_ReturnsIntArray() { var expected = new[] {1, 2}; using (var dr = new DataTableReader(_dt1)) { var values = dr.GetColumnAsArrayOf<int>("id"); Assert.AreEqual(expected, values); } }