Delete unused ExpectedException @Rule.