Does anyone write unit test for their Commerce Server code? I am just
getting started. I tried putting this in a test:
ProductCatalog catalog =
CommerceContext.Current.CatalogSystem.GetCatalog("Test Catalog");
Of course it fails, CommerceContext.Current is null. The question is: How
do I initialize Commerce Server for my unit test so that I have a valid
context?