test of getitems method , of class cartservice . concode_field_sep PlaceHolder placeHolder concode_field_sep void testAddBookNormal concode_elem_sep void testAddBookNull concode_elem_sep void testAddBookAlreadyIn concode_elem_sep void testRemoveBook
void function ( ) { List < Book > loc0 = new ArrayList < Book > ( ) ; loc0 . add ( new Book ( "srini_string" , "srini_string" , 5.0f ) ) ; CartService loc1 = new CartService ( ) ; loc1 . setCart ( loc0 ) ; Collection < Book > loc2 = loc1 . getItems ( ) ; assertEquals ( 1 , loc2 . size ( ) ) ; assertEquals ( loc0 , loc2 ) ; }