Reputation: 916
Original code is as follows:
[Test]
public void TestCsvReader()
{
CustomUploadModel model = new CustomUploadModel();
DataTable dt = (DataTable)PrivateTester.RunInstanceMethod(typeof (CustomUploadModel), "ParseCSV", model, new object[] {m_testFilesPath + FxTest, ',', 1});
}
When I check my locals, the DataTable doesn't exist. I've also tried instantiating with DataTable dt = new DataTable
, but the table still doesn't exist. I've checked RunInstanceMethod
and it's working fine. Any ideas as to what causes this?
Upvotes: 1
Views: 129