How to test an exception with Junit or AssertJ

How to test an exception with Junit or AssertJ