public void ModifyTemplateOk()
        {
            TemplatesOperationMockService mock = new TemplatesOperationMockService();
            Template template = new Template()
            {
                TemplateID = mock.GetTemplates().FirstOrDefault().TemplateID,
                Name       = "Modify Template"
            };
            bool added = mock.LoadTemplate(template, false);

            Assert.True(mock.GetTemplate(template.Name) != null);
        }
        public void AddTemplateFalse()
        {
            TemplatesOperationMockService mock = new TemplatesOperationMockService();
            int      countOld    = mock.GetTemplates().Count;
            Template templateNew = new Template()
            {
                Name       = "Template1",
                Content    = "<p>hola</p>",
                TemplateID = Guid.NewGuid()
            };
            bool added = mock.LoadTemplate(templateNew, true);

            Assert.True(mock.GetTemplates().Count == countOld && !added);
        }