I tried to test this method with UnitTest, but when I run the test I received the System.MissingMethodException
.
My method:
public void LoadData()
{
while ((line = stream.ReadLine()) != null)
{
var words = line.Split('\t',StringSplitOptions.None);
}
}
My test:
[TestMethod]
public void Test_Resource_Load_Data()
{
int idListato = 3;
SDictionary sDictionary = new SDictionary(idListato);
sDictionary.LoadData();
}
I tried many solutions but without success, any suggestions?