public virtual ApiTicketStatuResponseModel MapBOToModel( BOTicketStatu boTicketStatu) { var model = new ApiTicketStatuResponseModel(); model.SetProperties(boTicketStatu.Id, boTicketStatu.Name); return(model); }
public void MapResponseToRequest() { var mapper = new ApiTicketStatuModelMapper(); var model = new ApiTicketStatuResponseModel(); model.SetProperties(1, "A"); ApiTicketStatuRequestModel response = mapper.MapResponseToRequest(model); response.Name.Should().Be("A"); }