public void MapBOToModelList()
        {
            var mapper          = new BOLActionTemplateMapper();
            BOActionTemplate bo = new BOActionTemplate();

            bo.SetProperties("A", "A", "A", "A", "A", 1);
            List <ApiActionTemplateResponseModel> response = mapper.MapBOToModel(new List <BOActionTemplate>()
            {
                { bo }
            });

            response.Count.Should().Be(1);
        }
        public void MapBOToModel()
        {
            var mapper          = new BOLActionTemplateMapper();
            BOActionTemplate bo = new BOActionTemplate();

            bo.SetProperties("A", "A", "A", "A", "A", 1);
            ApiActionTemplateResponseModel response = mapper.MapBOToModel(bo);

            response.ActionType.Should().Be("A");
            response.CommunityActionTemplateId.Should().Be("A");
            response.Id.Should().Be("A");
            response.JSON.Should().Be("A");
            response.Name.Should().Be("A");
            response.Version.Should().Be(1);
        }