public void SetUp() { var mockUnitOfWork = new MockUnitOfWork <MockDataContext>(); var subject = new ValuesService(mockUnitOfWork); _result = subject.ExportChangeLog(); }
public ActionResult Export() { var xmlString = _valuesService.ExportChangeLog(); return(File(Encoding.UTF8.GetBytes(xmlString), "application/xml", "ChangeLog.xml")); }