Exemplo n.º 1
0
		public void CanRemoveWorkItemState()
		{
			WorkItem wi = new TestableRootWorkItem();
			MockPersistenceService svc = wi.Services.AddNew<MockPersistenceService, IStatePersistenceService>();

			wi.DeleteState();

			Assert.IsTrue(svc.RemoveCalled);
		}