public void Setup()
 {
     _systemUnderTest = new OnlyNameMatchesButTypeIsConvertibleMappingConvention();
     _configuration = new MappingConfiguration<Foo, IFoo>();
     _systemUnderTest.Apply(new AdapterConventionEligiblePropertyFinder(), _configuration);
 }
コード例 #2
0
 public void Setup()
 {
     _systemUnderTest = new OnlyNameMatchesButTypeIsConvertibleMappingConvention();
     _configuration   = new MappingConfiguration <Foo, IFoo>();
     _systemUnderTest.Apply(new AdapterConventionEligiblePropertyFinder(), _configuration);
 }