Remove use of ExpectedException

No match.