// ĠCopyright Ġ 2 0 0 0 - 2 0 2 1 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . java . refactor ing Ċ Ċ import Ġcom . intellij . Java TestUtil Ċ import Ġcom . intellij . openapi . editor . ex . Editor Ex Ċ import Ġcom . intellij . refactor ing . move . Move Handler Ċ import Ġcom . intellij . test Framework . fixtures . Light Java Code Insight Fixture TestCase ĊĊ Ċ class ĠMove Action Name Test Ġ: ĠLight Java Code Insight Fixture TestCase () Ġ{ ĊĠ Ġprivate Ġval ĠTEST _ ROOT Ġ= Ġ"/ refactor ing / move Action Name /" ĊĊĠ Ġoverride Ġfun Ġget TestData Path (): ĠString Ġ{ ĊĠĠĠ Ġreturn ĠJava TestUtil . get Java TestData Path () ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Static Method () Ġ{ ĊĠĠĠ ĠassertEquals (" Move ĠMembers ...", Ġdo Test ()) ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Instance Method () Ġ{ ĊĠĠĠ ĠassertEquals (" Move ĠInstance ĠMethod ...", Ġdo Test ()) ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Move Class () Ġ{ ĊĠĠĠ ĠassertEquals (" Move ĠClass ...", Ġdo Test ()) ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Inner Class () Ġ{ ĊĠĠĠ ĠassertEquals (" Move ĠInner ĠClass ...", Ġdo Test ()) ĊĠ Ġ} ĊĊĠ Ġfun Ġtest Anonymous To Inner () Ġ{ ĊĠĠĠ ĠassertEquals (" Convert ĠAn onymous Ġto ĠInner ...", Ġdo Test ()) ĊĠ Ġ} ĊĊĠ Ġprivate Ġfun Ġdo Test (): ĠString ? Ġ{ ĊĠĠĠ Ġmy Fixture . configure By File ( TEST _ ROOT Ġ+ Ġget Test Name ( true ) Ġ+ Ġ". java ") ĊĠĠĠ Ġreturn ĠMove Handler . getAction Name (( my Fixture . editor Ġas ĠEditor Ex ). data Context ) ĊĠ Ġ} Ċ }