package Ġuk . gov . just ice . digital . h mp ps . gradle . plugin managers Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . assertj . core . api . Assertions . tuple Ċ import Ġorg . assertj . core . groups . Tuple Ċ import Ġorg . jetbrains . kotlin . gradle . plugin . Kotlin Plugin Wrapper Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġuk . gov . just ice . digital . h mp ps . gradle . UnitTest Ċ Ċ class ĠKotlin PluginManager Test Ġ: ĠUnit Test () Ġ{ ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` Should Ġapply Ġthe ĠKotlin Ġplugin `() Ġ{ ĊĠĠĠ Ġproject . plugins . get Plugin ( Kotlin Plugin Wrapper :: class . java ) ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` Should Ġapply ĠKotlin Ġdependencies `() Ġ{ ĊĠĠĠ ĠassertThat ( project . configurations . get ByName (" implementation "). dependencies ) ĊĠĠĠĠĠ Ġ. extract ing < Tuple > Ġ{ Ġtuple ( it . group , Ġit . name ) Ġ} ĊĠĠĠĠĠ Ġ. contains ( ĊĠĠĠĠĠĠĠ Ġtuple (" org . jetbrains . kotlin ", Ġ" kotlin - reflect ") ĊĠĠĠĠĠ Ġ) ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` Should Ġapply ĠKotlin Ġtest Ġdependencies `() Ġ{ ĊĠĠĠ ĠassertThat ( project . configurations . get ByName (" test Implementation "). dependencies ) ĊĠĠĠĠĠ Ġ. extract ing < Tuple > Ġ{ Ġtuple ( it . group , Ġit . name ) Ġ} ĊĠĠĠĠĠ Ġ. contains ( ĊĠĠĠĠĠĠĠ Ġtuple (" org . mockito . kotlin ", Ġ" mockito - kotlin ") ĊĠĠĠĠĠ Ġ) ĊĠ Ġ} Ċ } Ċ