@Test public void testRemoveFromCart() throws Exception { }
@Override public void removeFromCart(String cartId, String itemId) { URI remove_uri = REMOVE_TEMPLATE.expand(cartId, itemId); restTemplate.delete(remove_uri); }
CartRepositoryImpl implements CartRepository { @Override public void removeFromCart(String cartId, String itemId) { URI remove_uri = REMOVE_TEMPLATE.expand(cartId, itemId); restTemplate.delete(remove_uri); } }
CartRepositoryImpl implements CartRepository { @Override public void removeFromCart(String cartId, String itemId) { URI remove_uri = REMOVE_TEMPLATE.expand(cartId, itemId); restTemplate.delete(remove_uri); } @Autowired  CartRepositoryImpl(@Value("${redis.cart.microservice.url}") String baseUrl,
                              RestTemplate restTemplate); }
CartRepositoryImpl implements CartRepository { @Override public void removeFromCart(String cartId, String itemId) { URI remove_uri = REMOVE_TEMPLATE.expand(cartId, itemId); restTemplate.delete(remove_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 removeFromCart(String cartId, String itemId) { URI remove_uri = REMOVE_TEMPLATE.expand(cartId, itemId); restTemplate.delete(remove_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);  }