Package br.com.hotel.integration.api

Examples of br.com.hotel.integration.api.BrokenFilter


  @Test
  public void shouldReturnListOfHotels() {

    List<Hotel> hotels =
        brokenOneServiceBean.getHotels(new BrokenFilter());

    assertNotNull(hotels);
  }
View Full Code Here


  @Test
  public void shouldReturnListOfHotels() {

    List<Hotel> hotels =
        brokerTwoServiceBean.getHotels(new BrokenFilter());

    assertNotNull(hotels);
  }
View Full Code Here

    List<Hotel> hotels = new ArrayList<>();

    for (Broker broker : brokers) {

      List<Hotel> brokerHotels =
          broker.getHotels(new BrokenFilter());

      for (Hotel hotel : brokerHotels) {

        if(hotel.getStars() == hotelIntegrationFilter.getStars()){
          hotels.add(hotel);
View Full Code Here

TOP

Related Classes of br.com.hotel.integration.api.BrokenFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.