How to use TestCase in NUnit 2.5?
问题 I have a Currency class which I persist to my database using NHibernate. Currency class looks like this: public class Currency : Entity { public virtual string Code { get; set; } public virtual string Name { get; set; } public virtual string Symbol { get; set; } } I have written a unit test using [TestCase] like this: [TestCase(6,Result = new Currency ({ Code="GBP", Name="British Pound", Symbol="£"}))] public Currency CanGetCurrencyById(int id) { ICurrencyRepo currencies = new RepoFactory()