private TestWaybill CreateWaybillWithFile() { var testUser = session.Load <TestUser>(user.Id); var waybill = DataMother.CreateWaybill(session, testUser); var log = waybill.Log; session.Save(waybill); var sendLog = new TestDocumentSendLog(testUser, log); session.Save(sendLog); waybill.Log.CreateFile(FixtureSetup.Config.DocsPath, "waybill content"); return(waybill); }