package Ġcom . example . hello testing 1 Ċ Ċ import Ġcom . nat pr y ce . ham k rest . all Of Ċ import Ġcom . nat pr y ce . ham k rest . and Ċ import Ġcom . nat pr y ce . ham k rest . assertion . assertThat Ċ import Ġcom . nat pr y ce . ham k rest . contains Substring Ċ import Ġorg . hamcrest . core . Is Collection Containing . has Items Ċ import Ġorg . junit .* Ċ Ċ import Ġorg . junit . Assert .* Ċ Ċ class ĠAssertion UnitTest Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠassertThat _ is Correct () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertEquals ( 1 6 , Ġ 1 5 Ġ+ Ġ 1 ) ĊĠĠĠĠĠĠĠ ĠassertTrue (" must Ġbe Ġtrue ", Ġtrue ) ĊĠĠĠĠĠĠĠ ĠassertThat (" check Ġstring ", Ġcontains Substring (" check ")) ĊĠĠĠĠĠĠĠ ĠassertThat (" check Ġstring ", Ġall Of ( contains Substring (" check ") Ġand Ġcontains Substring (" string "))) ĊĠĠĠĠĠĠĠ ĠassertThat ( array ListOf (" one ", Ġ" two ", Ġ" three "), Ġhas Items (" one ", Ġ" three ")) ĊĠĠĠ Ġ} Ċ }