pass an instance of class to TestCase as parameter use testcasesource instead https://stackoverflow.com/questions/4220943/how-to-pass-dynamic-objects-into-an-nunit-testcase-function