We use `$this->setExpectedException` in the code by convention, can you change it to using the method?