public collection_resolver_tests() { var factory = new TestConfigurationFactory(); var cfg = new DestinationConfiguration(typeof(IntegerDest)); cfg.From(typeof(IntegerSource)); integerComponentElementConfig = factory.CreateBindableConfiguration(cfg.TakeSnapshot()); contextualizer = new TestContextualizer(); }
public mapping_configuration_tests() { configFactory = new TestConfigurationFactory(); contextualizer = new TestContextualizer(); }
public list_property_binder_tests() { configFactory = new TestConfigurationFactory(); }
public static IExecuteMapping ToExecutable(this ITakeDestinationConfigurationSnapshot cfg, Type sourceType, params ITakeDestinationConfigurationSnapshot[] otherCfgs) { var bindable = new TestConfigurationFactory().CreateBindableConfiguration(cfg.TakeSnapshot()); return(bindable.CreateExecutableMapping(sourceType)); }
public conventional_mapping_tests() { contextualizer = new TestContextualizer(); bindableFactory = new TestConfigurationFactory(); }
public complex_model_mapping_tests() { contextualizer = new TestContextualizer(); configFactory = new TestConfigurationFactory(); container = new DestinationConfigurationContainer(null, configFactory); }