public void TryConvertTo_DerivedType_ReturnsBaseType() { SampleBaseClass baseClass = new SampleDerivedClass().GetValueOrDefault<SampleBaseClass>(); baseClass.IsNotNull(); }
public void ConvertTo_DerivedType_ReturnsBaseType() { SampleBaseClass baseClass = new SampleDerivedClass().ConvertTo<SampleBaseClass>(); baseClass.IsNotNull(); }