public void CanConvertFrom()
        {
            ReferenceConverter converter = new ReferenceConverter(typeof(ITestInterface));

            // without context
            Assert.IsFalse(converter.CanConvertFrom(null, typeof(string)), "#1");
            // with context
            Assert.IsTrue(converter.CanConvertFrom(new TestTypeDescriptorContext(), typeof(string)), "#2");
        }
 public void CanConvertFrom()
 {
     ReferenceConverter converter = new ReferenceConverter(typeof(ITestInterface));
     // without context
     Assert.False(converter.CanConvertFrom(null, typeof(string)));
     // with context
     Assert.True(converter.CanConvertFrom(new TestTypeDescriptorContext(), typeof(string)));
 }