Adding EasyMock to mock exceptions.