public void Create_CreacionFallida_BadRequest()
        {
            //Arrange
            CreatorTemplateViewModel templateViewModel = new CreatorTemplateViewModel();
            Exception ex = new Exception();
            //Mock
            Mock <ICreatorViewModelService <Domain.Entities.Template, CreatorTemplateViewModel> > creatorViewModelService = new Mock <ICreatorViewModelService <Domain.Entities.Template, CreatorTemplateViewModel> >();

            creatorViewModelService.Setup((viewModelService) => viewModelService.Create(templateViewModel)).Throws(new Exception(ex.Message));
            //SUT
            var SUT    = new ClassCreatorController(creatorViewModelService.Object);
            var result = SUT.Create(templateViewModel) as ObjectResult;

            //Assert
            Assert.Equal(StatusCodes.Status400BadRequest, result.StatusCode);
        }
        public void Create_CreacionExitosa_Respuesta200Http()
        {
            //Arrange
            CreatorTemplateViewModel templateViewModel = new CreatorTemplateViewModel();

            //Mock
            Mock <ICreatorViewModelService <Domain.Entities.Template, CreatorTemplateViewModel> > creatorViewModelService = new Mock <ICreatorViewModelService <Domain.Entities.Template, CreatorTemplateViewModel> >();

            creatorViewModelService.Setup((viewModelService) => viewModelService.Create(templateViewModel));

            //SUT
            var SUT    = new ClassCreatorController(creatorViewModelService.Object);
            var result = SUT.Create(templateViewModel) as ObjectResult;

            //Assert
            Assert.Equal(StatusCodes.Status201Created, result.StatusCode);
        }