package Ġcom . rod rig ob res an . remote . test . factory Ċ Ċ import Ġcom . rod rig ob res an . remote . review . model . Review Ċ import Ġcom . rod rig ob res an . remote . review . model . Review Response Ċ Ċ class ĠReview Factory Ġ{ ĊĠĠĠ Ġcompanion Ġobject ĠFactory Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġmake Reviews Response (): ĠReview Response Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġvar Ġresponse Ġ= ĠReview Response () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġresponse . results Ġ= Ġmake Reviews () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġresponse ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġfun Ġmake Reviews (): ĠList < Review > Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġlist Reviews Ġ= Ġ( 1 .. 1 0 ). map Ġ{ ĠReview (" review _" Ġ+ Ġit , Ġ" Author ", Ġ" Content ", Ġ" Url ") Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġlist Reviews ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġfun Ġmake Review Model (): ĠReview Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠReview (" id ", Ġ" author ", Ġ" content ", Ġ" url ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }