METHOD_0 ( ) { au . com . IDENT_0 . IDENT_1 . ResultSet IDENT_2 = org . mockito . Mockito . mock ( au . com . IDENT_0 . IDENT_1 . ResultSet . class ) ; java . lang . String [ ] IDENT_3 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 } ; au . com . IDENT_0 . IDENT_1 . IDENT_4 IDENT_5 = au . com . IDENT_0 . IDENT_1 . IDENT_6 . METHOD_1 ( IDENT_3 ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_5 ) ; au . com . IDENT_0 . IDENT_1 . IDENT_7 service = new au . com . IDENT_0 . IDENT_1 . METHOD_3 ( ) ; java . lang . String [ ] IDENT_8 = service . METHOD_4 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( au . com . IDENT_0 . IDENT_1 . ResultSet ) { java . util . List < java . lang . String > IDENT_9 = new java . util . ArrayList < java . lang . String > ( ) ; au . com . IDENT_0 . IDENT_1 . IDENT_4 metadata = rs . METHOD_2 ( ) ; for ( int i = 0 ; i < ( metadata . METHOD_5 ( ) ) ; i ++ ) { IDENT_9 . add ( metadata . METHOD_6 ( ( i + 1 ) ) ) ; } java . lang . String [ ] IDENT_10 = new java . lang . String [ IDENT_9 . size ( ) ] ; return IDENT_9 . toArray ( IDENT_10 ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_3 , IDENT_8 )