I'm new to visual studio tests, I created a new test method to test a method which returns a datatable based on the tablename passed, but I'm confused as to how to test such a method, since the results are variable based on what's in the backend store at any point in time
[TestMethod()]
public void GetTableDataTest()
{
string tableName = "SomeTable"; // TODO: Initialize to an appropriate value
DataTable expected = null; // TODO: Initialize to an appropriate value
DataTable actual;
actual = LogManager.GetTableData(tableName);
Assert.AreEqual(expected, actual);
Assert.Inconclusive("Verify the correctness of this test method.");
}
Also can someone please point me to a some good blog resources?