static void ResumeWriter()
        {
            ResumeDocument rd = new ResumeDocument();

            rd.WritePage("CoverLetter");
            rd.WritePage("Education");
            rd.WritePage("Work History");
        }
Ejemplo n.º 2
0
        public void Resume_Document_Should_Have_Specific_Pages()
        {
            // arrange
            DocumentBase document = new ResumeDocument();

            // act
            var pages = document.Pages.Select(_ => _.ToString());

            // assert
            Assert.AreEqual(3, document.Pages.Count);

            CollectionAssert.AreEquivalent(new[] {
                "SkillsPage",
                "EducationPage",
                "ExperiencePage"
            }, pages);
        }
Ejemplo n.º 3
0
 public ResumeListItemModel MapResumeListItemModel(ResumeDocument resumeDocument, ResumeFileDocument resumeFileDocument)
 {
     return new ResumeListItemModel
     {
         FileId = resumeDocument.FileId,
         FileName = resumeFileDocument.Name,
         Email = resumeDocument.Email,
         UploadDate = resumeFileDocument.UploadDate,
         Description = resumeDocument.Description,
     };
 }