package Ġcom . ge or ger ac u . booking . resource Ċ Ċ import Ġio . drop wizard . testing . junit 5 . Drop wizard Extensions Support Ċ import Ġio . drop wizard . testing . junit 5 . Resource Extension Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . junit . jupiter . api . extension . Extend With Ċ Ċ @ Extend With ( Drop wizard Extensions Support :: class ) Ċ internal Ġclass ĠBook ings Resource Test Ġ{ ĊĠĠĠ Ġprivate Ġval Ġresources : ĠResource Extension Ġ= ĠResource Extension . builder () ĊĠĠĠĠĠĠĠ Ġ. add Resource ( Book ings Resource ()) ĊĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould GetAll Book ings () Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġact ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= Ġresources . target ("/ api / v 1 / bookings "). request (). get () ĊĊĠĠĠĠĠĠĠ Ġ// Ġassert ĊĠĠĠĠĠĠĠ ĠassertThat ( response . status ). isEqualTo ( 2 0 0 ) ĊĠĠĠ Ġ} Ċ }