-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Flight Delay Prediction #48
Conversation
* | ||
* <pre> | ||
* Amadeus amadeus = Amadeus.builder("clientId", "secret").build(); | ||
* amadeus.travel.analytics;</pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
travel.predictions
.thenReturn(multiResponse); | ||
FlightDelay flightDelay = new FlightDelay(client); | ||
TestCase.assertNotNull(flightDelay.get()); | ||
TestCase.assertNotNull(flightDelay.get(params)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the other unit test we check that the response's length is 2... I dont really remember why and if it is very useful... TestCase.assertEquals(flightOffersPrediction.post().length, 2);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first I had this check, but I removed it because I didn't know if it was relevant to this test case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be honest, I am not sure either...
Fixes #40