creates a new instance of type with default constructor.
T create<T>() where T
object result = method1(); // expected output