package Ġcom . cod it ory . gradle . web jar Ċ Ċ import Ġcom . cod it ory . gradle . web jar . base . Test Project Builder . Companion . project With Plugins Ċ import Ġcom . github . gradle . node . Node Plugin Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠPlugin Setup Test Ġ{ ĊĠĠĠ Ġprivate Ġval Ġproject Ġ= Ġproject With Plugins () ĊĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġregister Ġplugin Ġwith Ġits Ġdependencies `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( project . plugins . get Plugin ( Web jar Plugin . PLUGIN _ ID )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isInstanceOf ( Web jar Plugin :: class . java ) ĊĠĠĠĠĠĠĠ ĠassertThat ( project . plugins . get Plugin (" com . github . node - gradle . node ")) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. isInstanceOf ( Node Plugin :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ