public void MapModelToEntity()
        {
            var mapper = new DALVehicleOfficerMapper();
            ApiVehicleOfficerServerRequestModel model = new ApiVehicleOfficerServerRequestModel();

            model.SetProperties(1, 1);
            VehicleOfficer response = mapper.MapModelToEntity(1, model);

            response.OfficerId.Should().Be(1);
            response.VehicleId.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var            mapper = new DALVehicleOfficerMapper();
            VehicleOfficer item   = new VehicleOfficer();

            item.SetProperties(1, 1, 1);
            ApiVehicleOfficerServerResponseModel response = mapper.MapEntityToModel(item);

            response.Id.Should().Be(1);
            response.OfficerId.Should().Be(1);
            response.VehicleId.Should().Be(1);
        }
        public void MapEntityToModelList()
        {
            var            mapper = new DALVehicleOfficerMapper();
            VehicleOfficer item   = new VehicleOfficer();

            item.SetProperties(1, 1, 1);
            List <ApiVehicleOfficerServerResponseModel> response = mapper.MapEntityToModel(new List <VehicleOfficer>()
            {
                { item }
            });

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