org.junit.Assert.* is not eclipsed

Eclipse’s organize-import loves to strip out your org.junit.Assert.*

But you can tell it to auto-complete them via:
– Editor > Content Assist > Favorites
– add org.junit.Assert.*;

You can even add hamcrest, math and other commonly used test libs there!

Lascia un commento