void function ( ) { int loc0 = 1 ; mockMvc . perform ( get ( "srini_string" + loc0 ) ) . andExpect ( model ( ) . attribute ( "srini_string" , shoppingCartService . getShopCartSize ( ) ) ) ; }
verify that shopping cart return the number of items in a cart list =================================================================== concode_field_sep ShoppingCartService shoppingCartService concode_elem_sep ShopCartController controller concode_elem_sep CustomerService customerService concode_elem_sep Book first concode_elem_sep MockMvc mockMvc concode_elem_sep List<Book> bookList concode_elem_sep BookService bookService concode_field_sep void testAddToCartThatItCanRedirectToBooks concode_elem_sep void setUp concode_elem_sep void verifyHTTPStatusIsFound concode_elem_sep void testAddToCartMethodIsCalled