File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/test/java/com/amadeus Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -793,12 +793,13 @@ public void testFlightOrdersbyId() throws ResponseException {
793793 public void testTransferOffers () throws ResponseException {
794794 // Testing Transfer Offers
795795 Mockito .when (client .post ("/v1/shopping/transfer-offers" , (String ) null ))
796- .thenReturn (singleResponse );
796+ .thenReturn (multiResponse );
797797 Mockito .when (client .post ("/v1/shopping/transfer-offers" , body ))
798- .thenReturn (singleResponse );
798+ .thenReturn (multiResponse );
799799 TransferOffers transferOffers = new TransferOffers (client );
800800 assertNotNull (transferOffers .post ());
801801 assertNotNull (transferOffers .post (body ));
802+ assertEquals (transferOffers .post ().length , 2 );
802803 }
803804
804805}
You can’t perform that action at this time.
0 commit comments