Update Add_to_cart_after_register_from_cart_path.java

Use boolean Assert