public void GenerateTimesheet() { var attendees = new List <Attendee>(); attendees.Add(new Attendee(new FullName("boudoux", "aurelien"), "DOT SHARK")); attendees.Add(new Attendee(new FullName("revel", "alexandre"), "TREND")); attendees.Add(new Attendee(new FullName("Aldebert", "Gregory"), "TREND")); var repo = new DocumentCreator(Path.Combine(Directory.GetCurrentDirectory(), "..\\..\\")); var doc = repo.CreateTimesheet("SET Niveau I", new DateTime(2018, 1, 23), 3, "Saint PRIEST", new FullName("cordier", "fabrice"), attendees); File.Exists(doc).Should().BeTrue(); //Process.Start(doc); }