public void ShouldSaveItemsToSaver() { var itemRing = new ItemRing<string>(items); var saver = new MockSaver<IEnumerable<string>>(); itemRing.Save(saver); Approvals.VerifyAll(saver.Saved.First(), "Saved"); }
public void ShouldSaveItemsToSaver() { var itemRing = new ItemRing <string>(items); var saver = new MockSaver <IEnumerable <string> >(); itemRing.Save(saver); Approvals.VerifyAll(saver.Saved.First(), "Saved"); }