public void SaveTestFirm() { string path = @"D:\ForFiles\UnitTest"; var mock = new Mock <IFirmService>(); mock.Setup(obj => obj.Save(path, new List <Firm>())); IFirmService service = mock.Object; service.Save(path, new List <Firm>()); }
public void SaveTestFirm() { string path = @"D:\ForFiles\UnitTest"; var mock = new Mock <IFirmService>(); mock.Setup(obj => obj.Save(path, new List <Firm>())); IFirmService service = mock.Object; service.Save(path, new List <Firm>()); }