package Ġcom . ap ol log raph ql . apollo . network . mock Ċ Ċ import Ġcom . ap ol log raph ql . apollo . network . Url Session Data Task Completion Handler Ċ import Ġplatform . Foundation . NS URL Session Data Task Ċ Ċ class ĠMock Session Data Task ( ĊĠĠĠ Ġprivate Ġval Ġcompletion Handler : ĠUrl Session Data Task Completion Handler , ĊĠĠĠ Ġprivate Ġval Ġmock Response : ĠMock HttpResponse Ċ ) Ġ: ĠNSURL Session Data Task () Ġ{ ĊĊĠ Ġoverride Ġfun Ġresume () Ġ{ ĊĠĠĠ Ġwith ( mock Response ) Ġ{ ĊĠĠĠĠĠ Ġcompletion Handler ( http Data , ĠhttpResponse , Ġerror ) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ