package Ġio . kot est . plugin . intellij . ins pe ctions Ċ Ċ import Ġcom . intellij . lang . annotation . Highlight Severity Ċ import Ġcom . intellij . test Framework . fixtures . Light Java Code Insight Fixture TestCase Ċ import Ġio . kot est . matchers . shouldBe Ċ import Ġjava . nio . file . Paths Ċ Ċ internal Ġclass ĠShould Not Be True Inspection Test Ġ: ĠLight Java Code Insight Fixture TestCase () Ġ{ ĊĊĠĠ Ġoverride Ġfun Ġget TestData Path (): ĠString Ġ{ ĊĠĠĠĠĠ Ġval Ġpath Ġ= ĠPaths . get ("./ src / test / resources / "). to AbsolutePath () ĊĠĠĠĠĠ Ġreturn Ġpath . toString () ĊĠĠ Ġ} ĊĊĠĠ Ġfun Ġtest Inspection () Ġ{ ĊĠĠĠĠĠ Ġmy Fixture . configure By File ("/ ins pe ctions / should Not Be True . kt ") ĊĠĠĠĠĠ Ġmy Fixture . enable Ins pe ctions ( Should Not Be True Inspection :: class . java ) ĊĠĠĠĠĠ Ġval Ġhighlight Ġ= Ġmy Fixture . do Highlighting (). find Ġ{ Ġit . description Ġ== Ġ" Replace Ġwith ĠshouldBe Ġfalse " Ġ} !! ĊĠĠĠĠĠ Ġhighlight . text ĠshouldBe Ġ""" " sdf ds f ". isBlank () Ġshould Not Be Ġtrue """ ĊĠĠĠĠĠ Ġhighlight . severity ĠshouldBe ĠHighlight Severity . WARNING ĊĠĠĠĠĠ Ġhighlight . start Offset ĠshouldBe Ġ 2 7 4 ĊĠĠĠĠĠ Ġhighlight . end Offset ĠshouldBe Ġ 3 0 9 ĊĠĠ Ġ} Ċ } Ċ