public void CreateInstance_succeeds_for_delegate( ) { var creator = InstanceCreator.ForDelegate(() => new InstantiableStruct( )); TestCreator(creator); }
public void CreateInstance_succeeds_for_default_class_constructor( ) { var creator = InstanceCreator.ForType <InstantiableClass>( ); TestCreator(creator); }