package Ġid . r sd iz . the game db . core . data . source . remote . response . games Ċ Ċ import Ġorg . junit . Assert .* Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . junit . runners . JUnit 4 Ċ Ċ /** Ċ Ġ* ĠClass Ġfor Ġtesting Ġ[ Parent Platforms Response ] Ġclass Ċ Ġ*/ Ċ @ RunWith ( JUnit 4 :: class ) Ċ class ĠParent Platforms Response Test Ġ{ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠTest Ġan Ġequation Ġfor Ġobject Ġsym metry ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Equals Sy metric () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġplatform Response 1 Ġ= ĠPlatform Response (" name 1 ") ĊĊĠĠĠĠĠĠĠ Ġval Ġparent Platforms Response 1 Ġ= ĠParent Platforms Response ( platform Response 1 ) ĊĠĠĠĠĠĠĠ Ġval Ġparent Platforms Response 2 Ġ= ĠParent Platforms Response ( platform Response 1 ) ĊĊĠĠĠĠĠĠĠ ĠassertTrue ( parent Platforms Response 1 Ġ== Ġparent Platforms Response 2 Ġ&& Ġparent Platforms Response 2 Ġ== Ġparent Platforms Response 1 ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( parent Platforms Response 1 . hashCode () Ġ== Ġparent Platforms Response 2 . hashCode ()) ĊĠĠĠ Ġ} Ċ } Ċ