@Test public void testClear() throws Exception { }
@Override public void clear(String cartId) { URI clear_uri = CLEAR_TEMPLATE.expand(cartId); restTemplate.delete(clear_uri); }
CartRepositoryImpl implements CartRepository { @Override public void clear(String cartId) { URI clear_uri = CLEAR_TEMPLATE.expand(cartId); restTemplate.delete(clear_uri); } }
CartRepositoryImpl implements CartRepository { @Override public void clear(String cartId) { URI clear_uri = CLEAR_TEMPLATE.expand(cartId); restTemplate.delete(clear_uri); } @Autowired  CartRepositoryImpl(@Value("${redis.cart.microservice.url}") String baseUrl,
                              RestTemplate restTemplate); }
CartRepositoryImpl implements CartRepository { @Override public void clear(String cartId) { URI clear_uri = CLEAR_TEMPLATE.expand(cartId); restTemplate.delete(clear_uri); } @Autowired  CartRepositoryImpl(@Value("${redis.cart.microservice.url}") String baseUrl,
                              RestTemplate restTemplate); @Override String create(CartItem cartItem); @Override void add(String cartId, CartItem cartItem); @Override void removeFromCart(String cartId, String itemId); @Override void clear(String cartId); @Override List<CartItem> getCartItems(String cartId); }
CartRepositoryImpl implements CartRepository { @Override public void clear(String cartId) { URI clear_uri = CLEAR_TEMPLATE.expand(cartId); restTemplate.delete(clear_uri); } @Autowired  CartRepositoryImpl(@Value("${redis.cart.microservice.url}") String baseUrl,
                              RestTemplate restTemplate); @Override String create(CartItem cartItem); @Override void add(String cartId, CartItem cartItem); @Override void removeFromCart(String cartId, String itemId); @Override void clear(String cartId); @Override List<CartItem> getCartItems(String cartId);  }