METHOD_0 ( ) { org . openscience . cdk . group . IDENT_0 IDENT_1 = new org . openscience . cdk . group . METHOD_1 ( METHOD_2 ( ) ) ; org . openscience . cdk . group . IDENT_2 IDENT_3 = org . openscience . cdk . group . IDENT_2 . METHOD_3 ( STRING_0 ) ; org . openscience . cdk . group . IDENT_2 IDENT_4 = IDENT_1 . METHOD_4 ( IDENT_3 ) ; org . openscience . cdk . group . IDENT_2 expected = org . openscience . cdk . group . IDENT_2 . METHOD_3 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { if ( ( IDENT_5 == null ) || ( IDENT_5 . isEmpty ( ) ) ) throw new java . lang . IllegalArgumentException ( STRING_2 ) ; org . openscience . cdk . group . IDENT_2 p = new org . openscience . cdk . group . METHOD_5 ( ) ; int index = 0 ; if ( ( IDENT_5 . charAt ( 0 ) ) == STRING_3 ) { index ++ ; } int IDENT_6 ; if ( ( IDENT_5 . charAt ( ( ( IDENT_5 . length ( ) ) - 1 ) ) ) == STRING_4 ) { IDENT_6 = ( IDENT_5 . length ( ) ) - 2 ; } else { IDENT_6 = ( IDENT_5 . length ( ) ) - 1 ; } int IDENT_7 = - 1 ; int IDENT_8 = - 1 ; while ( index <= IDENT_6 ) { char c = IDENT_5 . charAt ( index ) ; if ( java . lang . IDENT_9 . METHOD_6 ( c ) ) { if ( IDENT_8 == ( - 1 ) ) { IDENT_8 = index ; } } else if ( c == STRING_5 ) { int element = java . lang . Integer . METHOD_7 ( IDENT_5 . substring ( IDENT_8 , index ) ) ; if ( IDENT_7 == ( - 1 ) ) { p . METHOD_8 ( element ) ; IDENT_7 = 0 ; } else { p . METHOD_9 ( IDENT_7 , element ) ; } IDENT_8 = - 1 ; } else if ( c == STRING_6 ) { int element = java . lang . Integer . METHOD_7 ( IDENT_5 . substring ( IDENT_8 , index ) ) ; if ( IDENT_7 == ( - 1 ) ) { p . METHOD_8 ( element ) ; IDENT_7 = 0 ; } else { p . METHOD_9 ( IDENT_7 , element ) ; } IDENT_7 ++ ; p . METHOD_8 ( ) ; IDENT_8 = - 1 ; } index ++ ; } int IDENT_10 = java . lang . Integer . METHOD_7 ( IDENT_5 . substring ( IDENT_8 , ( IDENT_6 + 1 ) ) ) ; p . METHOD_9 ( IDENT_7 , IDENT_10 ) ; return p ; }
org . junit . Assert . assertEquals ( expected , IDENT_4 )