package Ġcom . ab hr p . food near me . remote . mapper . detail Ċ Ċ import Ġcom . ab hr p . food near me . factory . Remote Data Factory Ċ import Ġorg . junit . Assert Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . junit . runners . JUnit 4 Ċ Ċ @ RunWith ( JUnit 4 :: class ) Ċ class ĠDetails Mapper Test Ġ{ ĊĠĠĠ Ġprivate Ġval Ġdetails Mapper Ġ= ĠDetails Mapper () ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Details Mapper Maps Correct ly () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġven ue Details Ġ= ĠRemote Data Factory . get Venue Details () ĊĠĠĠĠĠĠĠ Ġval Ġdata Ġ= Ġdetails Mapper . map To Data ( venue Details ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . id , Ġven ue Details . id ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . name , Ġven ue Details . name ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . aff ord ability , Ġven ue Details . pricing ?. message ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . phone , Ġven ue Details . contact ?. phone ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . formatted Phone , Ġven ue Details . contact ?. formatted Phone ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . facebook , Ġven ue Details . contact ?. facebook ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . facebook Name , Ġven ue Details . contact ?. facebook Name ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . twitter , Ġven ue Details . contact ?. twitter ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . time Zone , Ġven ue Details . time Zone ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . rating , Ġven ue Details . rating ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . rating Color , Ġven ue Details . rating Color ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . total Ratings , Ġven ue Details . rating Signals ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . menu Url , Ġven ue Details . menu ?. mobile Url ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . isOpen Now , Ġven ue Details . hours ?. isOpen ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . current Status , Ġven ue Details . hours ?. status ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . longitude , Ġven ue Details . location ?. longitude ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . latitude , Ġven ue Details . location ?. latitude ) ĊĠĠĠĠĠĠĠ ĠAssert . assertEquals ( data . no Of Lik es , Ġven ue Details . likes ?. count ) ĊĠĠĠ Ġ} Ċ }