microservices-event-sourcing-master/shopping-cart-service/src/test/java/com/timeyang/api/v1/ShoppingCartServiceV1Test.java
package com.timeyang.api.v1;

import org.junit.Test;

/**
 * Created by yangck on 2017/3/14.
 */
public class ShoppingCartServiceV1Test {
    @Test
    public void checkOut() throws Exception {
       /* Inventory[] inventory = new Inventory[2];
        Product product1 = new Product();
        Product product2 = new Product();

        Map<String, Long> inventoryItems = Arrays.stream(inventory)
                .map(inv -> inv.getProduct().getProductId())
                .collect(groupingBy(Function.identity(), counting()));*/

    }

}