Assert That Import

Use quick intentions to manage imports and keep your code compiling.

⌥⏎ (macOS) / Alt+Enter (Windows/Linux), to import static methods into classes to improve the readability of your code.

This can be especially useful when you're migrating from older versions of testing frameworks and need to make multiple replacements in your class.


Related Resources

Merge/Unmerge If Statements
Merge/Unmerge If Statements
Experiment with your code without changing the semantics.
Extract Method
Extract Method
Extract code to a new method.
Generate a Test Class
Generate a Test Class
Generate a new test class from your Java class.