package Ġno . nav . fo . ve ilar bre gist r ering . bes vare lse Ċ Ċ import Ġno . nav . fo . ve ilar bre gist r ering . bes vare lse . St illing Test data Builder . gy ld ig St illing Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠSt illing UnitTest Ġ{ ĊĠĠĠ Ġprivate Ġval Ġto Like A Ġ= Ġgy ld ig St illing (" a ", Ġ" l ", Ġ 1 Ġ) ĊĠĠĠ Ġprivate Ġval Ġto Like B Ġ= Ġgy ld ig St illing (" a ", Ġ" l ", Ġ 1 Ġ) ĊĠĠĠ Ġprivate Ġval Ġan ner le des Ġ= Ġgy ld ig St illing (" b ", Ġ" l ", Ġ 1 Ġ) ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` toString Ġfun ger er Ġsom Ġfor vent et `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( gy ld ig St illing (). toString ()). isEqualTo (" St illing ( label = yr kes bes k riv else , Ġk onse pt Id = 1 2 4 6 3 4 5 , Ġst yr k 0 8 = 1 2 3 4 5 )") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` equals Ġfun ger er Ġsom Ġfor vent et `() Ġ{ ĊĊĠĠĠĠĠĠĠ ĠassertThat ( to Like A Ġ== Ġto Like B ). isTrue ĊĠĠĠĠĠĠĠ ĠassertThat ( to Like A Ġ=== Ġto Like B ). isFalse ĊĊĠĠĠĠĠĠĠ ĠassertThat ( to Like A Ġ== Ġan ner le des ). isFalse ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` hashCode Ġfun ger er Ġsom Ġfor vent et `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( to Like A . hashCode ()). isEqualTo ( to Like B . hashCode ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( to Like B . hashCode ()). isNot EqualTo ( anner le des . hashCode ()) ĊĠĠĠ Ġ} Ċ Ċ }