Example #1
0
        public void ByNameExplicitIncompatibleTypesWillNotSucceed()
        {
            var instance = new ByNameExplicitIncompatibleFrom()
            {
                Value = 5
            };

            this.provider.Translate <ByNameExplicitIncompatibleFrom, ByNameExplicitIncompatibleTo>(instance);
        }
Example #2
0
 public void ByNameExplicitIncompatibleTypesWillNotSucceed()
 {
     var instance = new ByNameExplicitIncompatibleFrom() { Value = 5 };
     this.provider.Translate<ByNameExplicitIncompatibleFrom, ByNameExplicitIncompatibleTo>(instance);
 }