AllegroNiceApi extends AbstractService implements IAllegroNiceApi { @Override public Map<Integer, String> getShippment() { return infoService.getShipping(); } private  AllegroNiceApi(Builder builder); @Override IAllegroNiceApi restLogin(@NotNull String code); @Override AllegroNiceApi refreshRestApiSession(); @Override List<String> getSalesConditions(); @Nullable @Override RestApiSession getRestApiSession(); @Override IAllegroNiceApi login(); @Override IAllegroNiceApi loginIfNeeded(); @Override boolean isLogged(); @Override long getClientId(); @Override AllegroSession getSession(); @Override Map<Integer, String> getCountries(); @Override Map<Integer, String> getShippment(); @Override SysStatusType getStatus(); @Override Observable<Journal> getJournal(long startingPoint); @Override List<ItemPostBuyDataStruct> getClientsDate(long itemId); @Override Observable<Deal> getDeals(long startingPoint); @Override Observable<Payment> getPayments(Observable<Deal> deals); @Override Observable<Auction> getAuctions(); @Override Optional<Auction> getAuctionById(long itemId); List<AuctionField> getAuctionFields(long itemId); @Override ChangedAuctionInfo changeAuctions(long itemId, List<AuctionField> fieldsToModify); @Override List<FormField> getSellFormFields(int categoryId); @Override NewAuctionPrice checkNewAuction(List<AuctionField> fields); @Override CreatedAuction createNewAuction(@NotNull NewAuction newAuction); @Override ChangedQty changeQty(long itemId, int newQty); @Override ChangedPrice changePrice(long itemId, double newPrice); @Override List<FinishAuctionFailure> finishAuctions(List<Long> itemsIds); @Override Observable<IncomingPayment> getIncomingPayments();  }
@Test public void shouldReturnShippment() { Map<Integer, String> shippment = api.getShippment(); assertFalse(shippment.isEmpty()); }