public void SutIsCommerceContainer(TransientCommerceContainer sut)
 {
     // Fixture setup
     // Exercise system
     // Verify outcome
     Assert.IsAssignableFrom<ICommerceContainer>(sut);
     // Teardown
 }
 public void ResolveHomeControllerReturnsCorrectResult(TransientCommerceContainer sut)
 {
     // Fixture setup
     // Exercise system
     var result = sut.ResolveHomeController();
     // Verify outcome
     Assert.IsAssignableFrom<HomeController>(result);
     // Teardown
 }
 public void ResolvedHomeControllerHasCorrectPolicy(TransientCommerceContainer sut)
 {
     // Fixture setup
     // Exercise system
     var result = sut.ResolveHomeController();
     // Verify outcome
     var homeController = Assert.IsAssignableFrom<HomeController>(result);
     Assert.IsAssignableFrom<RepositoryBasketDiscountPolicy>(homeController.Policy);
     // Teardown
 }
 public void ResolvedRepositoriesAreDifferent(TransientCommerceContainer sut)
 {
     // Fixture setup
     // Exercise system
     var result = sut.ResolveHomeController();
     // Verify outcome
     var homeController = Assert.IsAssignableFrom<HomeController>(result);
     var policy = Assert.IsAssignableFrom<RepositoryBasketDiscountPolicy>(homeController.Policy);
     Assert.NotSame(homeController.Campaign.Repository, policy.Repository);
     // Teardown
 }