コード例 #1
0
 public BlogEngineIntegrationTests()
 {
     unityContainer = GetUnityContainer();
     blogEngine = unityContainer.Resolve<BlogEngine>();
 }
コード例 #2
0
 public BlogEngineTests()
 {
     dataStorage = MockRepository.GenerateStub<IDataStorage>();
     blogEngine = new BlogEngine(dataStorage);
 }