I trying to write a test that checks that a method isn't overwritten incorrectly in derived classes. So I tried the following. But no matter what I try it doesn't seem to allow me to "inject" my object.
[Theory]
[xxxData(new BaseClass())]
[xxxData(new DerivedClass())]
public void Test_Stuff(BaseClass obj)
{
// ...
}