public void Move_InvokesActiveContent() { var newParent = new ActiveContentItem(); persister.Move(item, newParent); item.Actions.Single().ShouldBe("MoveTo " + newParent); }
public void Copy_InvokesActiveContent() { var newParent = new ActiveContentItem(); persister.Copy(item, newParent); item.Actions.Single().ShouldBe("CopyTo " + newParent); }
public void SetUp() { persister = TestSupport.SetupFakePersister(); item = new ActiveContentItem(); }