public void PersistBag_Does_Not_Throw_If_Writer_Is_Null() { var persister = new BaseParamBagPersist(); var bag = new EmptyParamBag(); XmlWriter writer = null; persister.PersistBag(bag, writer); }
public void PersistBag() { var persister = new BaseParamBagPersist(); var bag = new EmptyParamBag(); var mockWriter = new Mock<XmlWriter>(); persister.PersistBag(bag, mockWriter.Object); }
public void PersistBag_Does_Not_Throw_If_Bag_IsI_ncorrectType() { var persister = new BaseParamBagPersist(); var mockBag = new Mock<IParamBag>(); var mockWriter = new Mock<XmlWriter>(); persister.PersistBag(mockBag.Object, mockWriter.Object); }
public void PersistBag_Does_Not_Throw_If_Bag_Is_Null() { var persister = new BaseParamBagPersist(); var mockWriter = new Mock<XmlWriter>(); persister.PersistBag(null, mockWriter.Object); }