Connection function ( PreparedStatement arg0 ) { Connection loc0 = Mockito . mock ( Connection . class ) ; try { Mockito . when ( loc0 . prepareStatement ( Mockito . anyString ( ) ) ) . thenReturn ( arg0 ) ; } catch ( SQLException loc1 ) { fail ( loc1 . getMessage ( ) ) ; } return loc0 ; }
doc yyin comment method `` mockconnection '' . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetTablescase1 concode_elem_sep void setUp concode_elem_sep ResultSet mockResultSet concode_elem_sep PreparedStatement mockPreparedStatement concode_elem_sep void testGetTablesCase2 concode_elem_sep ResultSet mockMetadata concode_elem_sep void testGetTablesCase4 concode_elem_sep void testGetTablesCase3