public void MapEntityToModelList()
        {
            var  mapper = new DALNoteMapper();
            Note item   = new Note();

            item.SetProperties(1, 1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A", 1);
            List <ApiNoteServerResponseModel> response = mapper.MapEntityToModel(new List <Note>()
            {
                { item }
            });

            response.Count.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var  mapper = new DALNoteMapper();
            Note item   = new Note();

            item.SetProperties(1, 1, DateTime.Parse("1/1/1987 12:00:00 AM"), "A", 1);
            ApiNoteServerResponseModel response = mapper.MapEntityToModel(item);

            response.CallId.Should().Be(1);
            response.DateCreated.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.Id.Should().Be(1);
            response.NoteText.Should().Be("A");
            response.OfficerId.Should().Be(1);
        }