Package rewards.internal.restaurant

Examples of rewards.internal.restaurant.RestaurantMapper


  @Before
  public void setUp()  {
    // create stubs to facilitate fast in-memory testing with dummy data and no external dependencies
    AccountMapper accountRepo = new StubAccountRepository();
    RestaurantMapper restaurantRepo = new StubRestaurantRepository();
    RewardRepository rewardRepo = new StubRewardRepository();

    // setup the object being tested by handing what it needs to work
    rewardNetwork = new RewardNetworkImpl(accountRepo, restaurantRepo, rewardRepo);
  }
View Full Code Here

TOP

Related Classes of rewards.internal.restaurant.RestaurantMapper

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.