public void TestGetTemplate()
        {
            var service = new TemplatesService(new TemplatesStubDao());
            var actual  = service.GetTemplate(new Guid("11111111-1111-1111-1111-111111111112"));

            Assert.NotNull(actual);
        }
        public void TestGetTemplate_M2O_HasHeader()
        {
            var service  = new TemplatesService(new TemplatesStubDao());
            var template = service.GetTemplate(new Guid("11111111-1111-1111-1111-111111111113"));

            Assert.NotEmpty(template.Headers);
        }
        public void TestGetTemplate_OnlySingleChoiceM2O_Template()
        {
            var service  = new TemplatesService(new TemplatesStubDao());
            var template = service.GetTemplate(new Guid("11111111-1111-1111-1111-111111111113"));

            Assert.Single(template.Body);
        }
        public void TestGetTemplate_M2O_HasHeaderTextField()
        {
            var       service  = new TemplatesService(new TemplatesStubDao());
            var       template = service.GetTemplate(new Guid("11111111-1111-1111-1111-111111111113"));
            DataField text     = template.Headers[0];

            Assert.Equal(text.Id, new Guid("36004a67-4c36-4457-a30f-617ca9e0c838"));
        }
        public void TestGetTemplate_SingleChoiceWeightedIdM2O_Template()
        {
            var           service  = new TemplatesService(new TemplatesStubDao());
            var           template = service.GetTemplate(new Guid("11111111-1111-1111-1111-111111111113"));
            QuestionField question = template.Body[0];

            Assert.Equal(question.Id, new Guid("5f4df704-8201-4e4f-94c2-4409da82bdb9"));
        }