package Ġbr . com . ner d rap ido . mv vm mock api app . remote . model Ċ Ċ import Ġbr . com . ner d rap ido . mv vm mock api app . test Shared . Remote Model Mock . eventId Ċ import Ġbr . com . ner d rap ido . mv vm mock api app . test Shared . Remote Model Mock . person Name Ċ import Ġbr . com . ner d rap ido . mv vm mock api app . test Shared . Remote Model Mock . person Id Ċ import Ġbr . com . ner d rap ido . mv vm mock api app . test Shared . Remote Model Mock . person Json Ċ import Ġbr . com . ner d rap ido . mv vm mock api app . test Shared . Remote Model Mock . picture Ċ import Ġcom . google . gson . Gson Ċ import Ġorg . junit . Assert Ċ import Ġorg . junit . Test Ċ import Ġorg . k oin . test . K oin Test Ċ Ċ /** Ċ Ġ* ĠCreated ĠBy ĠFE LI PE ĠG US BER TI Ġ@ Ġ 0 8 / 0 8 / 2 0 2 0 Ċ Ġ*/ Ċ class ĠPerson Response Test Ġ: ĠK oin Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġpeople Ġhy dr at ation Ġfrom Ġjson `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġpeople Response Ġ= ĠGson (). fromJson ( person Json , ĠPerson Response :: class . java ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( person Id , Ġpeople Response . id ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( eventId , Ġpeople Response . eventId ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( person Name , Ġpeople Response . name ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( picture , Ġpeople Response . picture ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġpeople Ġhy dr at ation `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġpeople Response Ġ= ĠPerson Response ( person Id , Ġevent Id , Ġperson Name , Ġpicture ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( person Id , Ġpeople Response . id ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( eventId , Ġpeople Response . eventId ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( person Name , Ġpeople Response . name ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( picture , Ġpeople Response . picture ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġpeople Ġhy dr at ation Ġwith Ġnull Ġpicture `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġpeople Response Ġ= ĠPerson Response ( person Id , Ġevent Id , Ġperson Name ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( person Id , Ġpeople Response . id ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( eventId , Ġpeople Response . eventId ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( person Name , Ġpeople Response . name ) ĊĠĠĠĠĠĠĠ ĠAssert . assertNull ( people Response . picture ) ĊĠĠĠ Ġ} Ċ }