feat: initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using AutoMapper;
|
||||
using Strata.Analytics.Biz.ContentMigration;
|
||||
using Strata.Analytics.Biz.DataSources;
|
||||
using Strata.Analytics.Biz.Extracts;
|
||||
using Strata.Analytics.Biz.Workbooks;
|
||||
|
||||
namespace Strata.Analytics.Test.Unit.Biz.TestData
|
||||
{
|
||||
internal static class AutoMapperMock
|
||||
{
|
||||
public static IMapper GetAutoMapper()
|
||||
{
|
||||
var mapperConfig = new MapperConfiguration(cfg =>
|
||||
{
|
||||
cfg.AddProfile(new DataSourceAutoMapperProfile());
|
||||
cfg.AddProfile(new WorkbookAutoMapperProfile());
|
||||
cfg.AddProfile(new WorkbookSaveInfoAutoMapperProfile());
|
||||
cfg.AddProfile(new ExtractAutoMapperProfile());
|
||||
cfg.AddProfile(new ExtractSaveInfoAutoMapperProfile());
|
||||
cfg.AddProfile(new ContentMigrationAutoMapperProfile());
|
||||
});
|
||||
return mapperConfig.CreateMapper();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user