Package rewards.internal.account

Examples of rewards.internal.account.AccountMapper


  private RewardNetworkImpl rewardNetwork;

  @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.account.AccountMapper

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.