public void ReadVDM()
        {
            // arrange
            ActionReadVDM action = new ActionReadVDM(this.Writer, this.FileSystem);

            // act
            action.Action();

            // assert
            Assert.IsTrue(this.Lines[0].StartsWith("Titre: "));
            Assert.IsTrue(this.Lines[1].StartsWith("Auteur: "));
            Assert.IsTrue(!String.IsNullOrEmpty(this.Lines[2]));
        }
        public void ReadVDM_PasDeDonnees()
        {
            // arrange
            ActionReadVDM action = new ActionReadVDM(this.Writer, this.FileSystem);

            if (File.Exists("viedemerde.json"))
            {
                File.Delete("viedemerde.json");
            }

            // act
            action.Action();

            // assert
            Assert.AreEqual("Pas de données.", this.Lines[0]);
        }