METHOD_0 ( ) { java . util . Collection < org . springframework . cloud . IDENT_0 . admin . rest . resource . IDENT_1 > data = new java . util . ArrayList ( ) ; data . add ( IDENT_2 ) ; data . add ( IDENT_3 ) ; org . springframework . IDENT_4 . IDENT_5 . IDENT_6 metadata = new org . springframework . IDENT_4 . IDENT_5 . METHOD_1 ( data . size ( ) , 1 , data . size ( ) , 1 ) ; org . springframework . IDENT_4 . IDENT_5 < org . springframework . cloud . IDENT_0 . admin . rest . resource . IDENT_1 > result = new org . springframework . IDENT_4 . METHOD_2 ( data , metadata ) ; when ( IDENT_7 . status ( ) ) . thenReturn ( result ) ; java . lang . Object [ ] [ ] expected = new java . lang . String [ ] [ ] { new java . lang . String [ ] { "1" , STRING_0 , "2" } , new java . lang . String [ ] { STRING_1 , STRING_0 } , new java . lang . String [ ] { STRING_2 , STRING_0 } , new java . lang . String [ ] { "2" , STRING_3 , STRING_4 } } ; org . springframework . shell . table . IDENT_8 model = IDENT_9 . list ( false , null ) . METHOD_3 ( ) ; for ( int row = 0 ; row < ( expected . length ) ; row ++ ) { for ( int IDENT_10 = 0 ; IDENT_10 < ( expected [ row ] . length ) ; IDENT_10 ++ ) { "<AssertPlaceHolder>" ; } } } getValue ( int , int ) { java . lang . String key = keys . get ( column ) ; if ( row == 0 ) { return key ; } int IDENT_11 = row - 1 ; if ( ( IDENT_12 . get ( key ) . size ( ) ) > IDENT_11 ) { return IDENT_12 . get ( key ) . get ( IDENT_11 ) ; } else { return null ; } }
org . junit . Assert . assertThat ( java . lang . String . valueOf ( model . getValue ( ( row + 1 ) , IDENT_10 ) ) , org . hamcrest . Matchers . is ( expected [ row ] [ IDENT_10 ] ) )