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();
 }