Remove ExpectedException usage.