﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using Framework.Core.DomainObjects;
using Framework.Web.Models;
using NUnit.Framework;

namespace Framework.UnitTests.MapperTests
{
    [TestFixture]
    class CommentMapperTests
    {
        [Test]
        public void map_to_comment_details_model()
        {
            Mapper.CreateMap<SiteUser, UserDetailsModel>();   
            Mapper.CreateMap<Comment, CommentDetailsModel>();
            Mapper.AssertConfigurationIsValid();
        }

        [Test]
        public void map_to_comment_create_model()
        {
            Mapper.CreateMap<Comment, CommentCreateModel>();
            Mapper.AssertConfigurationIsValid();
        }
    }
}
