private void ApplyForJob(Candidate candidate) { var employer = CreateEmployer(); var jobAd = _jobAdsCommand.PostTestJobAd(employer); TestObjectMother.ApplyForTestJobAd(jobAd, candidate, "This is a cover letter"); }
public FileMarkdownDocumentTests() { siteContext = Substitute.For <ISiteContext>(); documentFactory = Substitute.For <IDocumentFactory>(); eventAggregator = Substitute.For <IEventAggregator>(); dialogService = Substitute.For <IDialogService>(); fileSystem = TestObjectMother.GetFileSystem(); documentUnderTest = CreateFileMarkdownDocument(DocumentFilename, "Content"); }