public static void Init(TestContext context)
 {
     Repo = new DapperRepo(ConfigurationManager.ConnectionStrings["GDBConnStr"].ConnectionString);
     var guid = Guid.NewGuid().ToString();
     Brand = new Brand
     {
         BrandName = "Name " + guid,
         BrandCode = "Code " + guid,
         BrandDescription = "Descr " + guid,
         BrandDisplayName = "Display " + guid,
         InCommBrandIdentifier = "Brand id " + guid,
         BrandImageUrl = "ImageUrl " + guid,
         IsActive = true,
         CreatedOn = DateTime.Now,
         CreatedBy = "CreatedByFoo",
         ModifiedOn = DateTime.Now,
         ModifiedBy = "ModifiedByFoo"
     };
     Brand.BrandId = Repo.AddBrand(Brand);
 }
 public static Brand Inject(MapperConfiguration cfg)
 {
     RavenRepo repo = new RavenRepo("http://localhost:8080", cfg);
     var guid = Guid.NewGuid().ToString();
     var brand = new Brand
     {
         BrandName = "Name " + guid,
         BrandCode = "Code " + guid,
         BrandDescription = "Descr " + guid,
         BrandDisplayName = "Display " + guid,
         InCommBrandIdentifier = "Brand id " + guid,
         BrandImageUrl = "ImageUrl " + guid,
         IsActive = true,
         CreatedOn = DateTime.Now,
         CreatedBy = "CreatedByFoo",
         ModifiedOn = DateTime.Now,
         ModifiedBy = "ModifiedByFoo"
     };
     repo.SaveBrand(brand);
     return brand;
 }