public void MapEFToBO()
        {
            var            mapper = new DALTimestampCheckMapper();
            TimestampCheck entity = new TimestampCheck();

            entity.SetProperties(1, "A", BitConverter.GetBytes(1));

            BOTimestampCheck response = mapper.MapEFToBO(entity);

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
            response.Timestamp.Should().BeEquivalentTo(BitConverter.GetBytes(1));
        }
        public void MapBOToEF()
        {
            var mapper = new DALTimestampCheckMapper();
            var bo     = new BOTimestampCheck();

            bo.SetProperties(1, "A", BitConverter.GetBytes(1));

            TimestampCheck response = mapper.MapBOToEF(bo);

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
            response.Timestamp.Should().BeEquivalentTo(BitConverter.GetBytes(1));
        }
        public void MapEFToBOList()
        {
            var            mapper = new DALTimestampCheckMapper();
            TimestampCheck entity = new TimestampCheck();

            entity.SetProperties(1, "A", BitConverter.GetBytes(1));

            List <BOTimestampCheck> response = mapper.MapEFToBO(new List <TimestampCheck>()
            {
                entity
            });

            response.Count.Should().Be(1);
        }