setExpectedException