package Ġio . kom mon s . design patterns . bridge Ċ Ċ import Ġio . kom mon s . design patterns . bridge . ench ant ments . F lying Enchant ment Ċ import Ġio . kom mon s . design patterns . bridge . we apons . H ammer Ċ import Ġio . mock k . mock k Ċ import Ġio . mock k . spy k Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠH ammer Test : ĠAbstract Weapon Test () Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġh ammer `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġh ammer Ġ= Ġspy k ( H ammer ( mock k < F lying Enchant ment >( relax Unit Fun Ġ= Ġtrue ))) ĊĠĠĠĠĠĠĠ Ġtest Basic Weapon Actions ( hammer ) ĊĠĠĠ Ġ} Ċ }