Seems to me that the test is expecting a EntityNotFoundException but your patch is changing the expected (low level) contract. I think that we need to ask others to review your patch and this test failure.
My patch is less elegant but should work.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Seems to me that the test is expecting a EntityNotFoundException but your patch is changing the expected (low level) contract. I think that we need to ask others to review your patch and this test failure.
My patch is less elegant but should work.