コード例 #1
0
        public void WhenAnApplicationGetsRemovedUndeployIt()
        {
            IApplication application = NewAssertedDeployed();

            deployerMock.Expect("UnDeploy");
            deployLocation.Remove(application);
            Assert.IsFalse(deployManager.IsDeployed(application), "application has not been un-deployed");
        }
コード例 #2
0
 public void WhenStartedPreInstantiateSingletonsOnFactory()
 {
     factoryMock.Expect("PreInstantiateSingletons");
     host.Start();
 }