这是我的代码:
public int GetTotalIssuedCount()
{
var storeCode = Store.Current.Code.ToLower();
return (from i in Context.Instance.EduContainer.IssueDetailsSet
where i.Status.ToLower() == "issued" && i.Store.Code == storeCode
select i).Count();
}
这是我的测试代码:
[TestMethod]
public void GetTotalIssuedCountTest()
{
StoreRepository sr = new StoreRepository();
Assert.IsInstanceOfType();
}
哪种断言方法适合这里?