mockCloseConnection();
mockBegin();
EasyMock.expect(mockWaypointDAO.getWaypointsForTrip(newTrip, mockGetConnection())).andReturn(new ArrayList<Waypoint>());
EasyMock.expect(mockGoogleUtil.getJsonObj(newTrip,new ArrayList<Waypoint>())).andReturn(jsonObject);
EasyMock.expect(mockGoogleUtil.loadGoogleData(newTrip, jsonObject)).andThrow(new JSONException("JSONException in loadGoogleData"));
mockCloseConnection();
replayMocks();
// Do Test: