public void AssertConfigurationIsValid() { ViewModelMapCreator mapCreator = new ViewModelMapCreator(); mapCreator.CreateMappings(); Mapper.AssertConfigurationIsValid(); }
public void TestFixtureSetUp() { ModelMapCreator mapCreator = new ModelMapCreator(); mapCreator.CreateMappings(); ViewModelMapCreator vmMapCreator = new ViewModelMapCreator(); vmMapCreator.CreateMappings(); }
public static void Initialize() { IUnityContainer container = BuildUnityContainer(); DependencyResolver.SetResolver(new UnityDependencyResolver(container)); ModelMapCreator mapCreator = new ModelMapCreator(); mapCreator.CreateMappings(); ViewModelMapCreator viewModelMapCreator = new ViewModelMapCreator(); viewModelMapCreator.CreateMappings(); }