package Ġse . ans man . kot shi Ċ Ċ import Ġcom . google . common . truth . Truth . assertThat Ċ import Ġcom . squareup . mos hi . Json Qualifier Ċ import Ġorg . junit . Test Ċ import Ġse . ans man . kot shi . K ot shi Utils . create Json Qualifier Implementation Ċ Ċ @ Opt In ( Internal K ot shi Api :: class ) Ċ @ Suppress (" DE PREC ATION _ ERROR ") Ċ class ĠTest K ot shi Utils Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Create Json Qualifier Implementation _ equals () Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġassert Equality ( a : ĠTest Qualifier , Ġb : ĠTest Qualifier Ġ= Ġa ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( a ). isEqualTo ( b ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( b ). isEqualTo ( a ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation ()) ĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation (), ĠTest Qualifier :: class . java . create Json Qualifier Implementation ()) ĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation (), ĠTest Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" n / a "))) ĊĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar "))) ĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar ")), ĠTest Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar "))) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( Test Qualifier :: class . java . create Json Qualifier Implementation ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isNot EqualTo ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar "))) ĊĠĠĠĠĠĠĠ ĠassertThat ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar "))) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isNot EqualTo ( Test Qualifier :: class . java . create Json Qualifier Implementation ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Create Json Qualifier Implementation _ hashCode () Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġassert Equality ( a : ĠTest Qualifier , Ġb : ĠTest Qualifier Ġ= Ġa ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( a . hashCode ()). isEqualTo ( b . hashCode ()) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( b . hashCode ()). isEqualTo ( a . hashCode ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar "))) ĊĠĠĠĠĠĠĠ Ġassert Equality ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar ")), ĠTest Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar "))) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( Test Qualifier :: class . java . create Json Qualifier Implementation (). hashCode ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isNot EqualTo ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar ")). hashCode ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar ")). hashCode ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isNot EqualTo ( Test Qualifier :: class . java . create Json Qualifier Implementation (). hashCode ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Create Json Qualifier Implementation _ toString () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Test Qualifier :: class . java . create Json Qualifier Implementation (). toString ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ("@ se . ans man . kot shi . Test Qualifier () ") ĊĊĠĠĠĠĠĠĠ ĠassertThat ( Test Qualifier :: class . java . create Json Qualifier Implementation ( map Of (" foo " Ġto Ġ" bar ")). toString ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ("@ se . ans man . kot shi . Test Qualifier ( foo = bar )") ĊĠĠĠ Ġ} Ċ } Ċ Ċ @ Json Qualifier Ċ annotation Ġclass ĠTest Qualifier ( val Ġfoo : ĠString Ġ= Ġ" n / a ")