public void MapModelToBO() { var mapper = new BOLVoteTypesMapper(); ApiVoteTypesRequestModel model = new ApiVoteTypesRequestModel(); model.SetProperties("A"); BOVoteTypes response = mapper.MapModelToBO(1, model); response.Name.Should().Be("A"); }
public void MapModelToBO() { var mapper = new BOLVoteTypesMapper(); ApiVoteTypesRequestModel model = new ApiVoteTypesRequestModel(); model.SetProperties("A"); BOVoteTypes response = mapper.MapModelToBO(1, model); response.Name.Should().Be("A"); }