-for example, select the class and invoke Refactor/Extract Interface for it.
-Choose to rename the original class and create interface with initial class name in same package
-Agree to shedule new file for adding to CC
- in Changes view 2 files are shown: one sheduled for adding, one - renamed
Commit works well, but if you rollback the changes, you get incorrect results