Function to create dummies without using generics

I ran into an issue where I wanted to write some unit tests that dynamically test other classes. In writing this test I needed to create a Dummy object, but I only knew the type of the Dummy at runtime. So, I added a new method that allows for the creation of dummy objects using a method parameter to determine the type instead of a generic type parameter.