public void PropertyConverterNegativeTest() { PropertyConverter target = new PropertyConverter(); var source = new TestClassA(); var sourceProperty = source.GetType().GetProperty("InnerClass"); var result = new TestClassB(); var resultProperty = result.GetType().GetProperty("InnerClassCode"); source.InnerClass = new TestClassC(); target.Convert( source, sourceProperty, target, resultProperty, false); }
public void PropertyConverterNegativeTest() { var target = new PropertyConverter(); var source = new TestClassA(); var sourceProperty = source.GetType().GetProperty("InnerClass"); var result = new TestClassB(); var resultProperty = result.GetType().GetProperty("InnerClassCode"); source.InnerClass = new TestClassC(); target.Convert( source, sourceProperty, target, resultProperty, false); }