METHOD_0 ( ) { org . json . JSONObject actual = json ( STRING_0 , STRING_1 , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . json . JSONObject ) { if ( ( obj == null ) || ( ( obj . length ( ) ) == 0 ) ) { return null ; } java . lang . String [ ] IDENT_0 = new java . lang . String [ obj . length ( ) ] ; java . util . Iterator < java . lang . String > IDENT_1 = obj . keys ( ) ; int IDENT_2 = 0 ; while ( IDENT_1 . hasNext ( ) ) { java . lang . String key = IDENT_1 . next ( ) ; IDENT_0 [ ( IDENT_2 ++ ) ] = key ; } return IDENT_0 ; }
org . junit . Assert . assertEquals ( 3 , org . json . JSONObject . METHOD_1 ( actual ) . length )