package Ġuk . gov . just ice . digital . as sess ments . repositories Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġuk . gov . just ice . digital . as sess ments . jpa . repositories . ref data . Answer Schema Group Repository Ċ import Ġuk . gov . just ice . digital . as sess ments . test utils . IntegrationTest Ċ import Ġjava . util . UUID Ċ Ċ class ĠAnswer Schema Group Repository Test (@ Autowired Ġval Ġanswer Schema Group Repository : ĠAnswer Schema Group Repository ) Ġ: ĠIntegration Test () Ġ{ ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` return ĠAnswer ĠSchema ĠGroup Ġby ĠUUID `() Ġ{ ĊĠĠĠ Ġval Ġanswer Schema Group Uuid Ġ= ĠUUID . fromString (" d 0 3 9 4 0 ce - 5 f 8 4 - 4 ec 1 - af 4 5 - ab 2 9 5 7 d 0 9 4 0 2 ") ĊĠĠĠ Ġval Ġanswer Schema Group Ġ= Ġanswer Schema Group Repository . findBy Answer Schema Group Uuid ( answer Schema Group Uuid ) ĊĠĠĠ ĠassertThat ( answer Schema Group ?. answer Schema Group Uuid ). isEqualTo ( answer Schema Group Uuid ) ĊĠĠĠ ĠassertThat ( answer Schema Group ?. answer Schema Group Code ). isEqualTo (" no problems - some problems - sign ific an tp ro blems ") ĊĠĠĠ ĠassertThat ( answer Schema Group ?. answer Schema Entities ?. size ). isEqualTo ( 3 ) ĊĠ Ġ} Ċ } Ċ