public void ConvertFromString() { RuntimeTypeConverter cnv = new RuntimeTypeConverter (); object foo = cnv.ConvertFrom ("System.String"); Assert.IsNotNull (foo); Assert.AreEqual (this.GetType().GetType().FullName, foo.GetType ().FullName); }
public void ConvertFromNonSupportedType() { RuntimeTypeConverter cnv = new RuntimeTypeConverter (); object foo = cnv.ConvertFrom (12); }