package Ġorg . ech oc at . k ata . java . part 1 Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . Test Ċ import Ġjava . time . LocalDate Ċ Ċ class ĠMain App UnitTest Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcan Import Authors () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( import Authors ()). contains ( Author (" null - w alter @ ech oc at . org ", Ġ" Pa ul ", Ġ" W alter ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcan Import Books () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġemails To Author Ġ= Ġauthors Lookup ( import Authors ()) ĊĊĠĠĠĠĠĠĠ Ġval Ġfirst Book Ġ= Ġimport Books ( emails To Author ). first () ĊĊĠĠĠĠĠĠĠ ĠassertThat ( first Book . title ). isEqualTo (" I ch Ġhe lf e Ġdir Ġko chen . ĠDas Ġer fol gre iche ĠUnivers alk och bu ch Ġmit Ġgro ÃŁ em ĠBack te il ") ĊĠĠĠĠĠĠĠ ĠassertThat ( first Book . isbn ). isEqualTo (" 5 5 5 4 - 5 5 4 5 - 4 5 1 8 ") ĊĠĠĠĠĠĠĠ ĠassertThat ( first Book . description ). startsWith (" A uf Ġder ĠSuc he Ġnach Ġeinem ĠB asis ko ch bu ch ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcan Import Mag az ines () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġemails To Author Ġ= Ġauthors Lookup ( import Authors ()) ĊĊĠĠĠĠĠĠĠ Ġval Ġfirst Mag azine Ġ= Ġimport Mag azine ( emails To Author ). first () ĊĊĠĠĠĠĠĠĠ ĠassertThat ( first Mag azine . title ). isEqualTo (" Be autiful Ġcook ing ") ĊĠĠĠĠĠĠĠ ĠassertThat ( first Mag azine . isbn ). isEqualTo (" 5 4 5 4 - 5 5 8 7 - 3 2 1 0 ") ĊĠĠĠĠĠĠĠ ĠassertThat ( first Mag azine . published At ). isEqualTo ( LocalDate . of ( 2 0 1 1 , Ġ 5 , Ġ 2 1 )) ĊĠĠĠ Ġ} Ċ } Ċ