EasyMock test for stub func to throws