METHOD_0 ( ) { org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 type = org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 . IDENT_2 ; java . lang . String name = org . sagebionetworks . repo . manager . IDENT_0 . IDENT_3 . METHOD_1 ( type , 12 ) ; org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 result = org . sagebionetworks . repo . manager . IDENT_0 . IDENT_3 . METHOD_2 ( name ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { org . sagebionetworks . util . IDENT_4 . METHOD_3 ( name , STRING_0 ) ; int index = name . indexOf ( org . sagebionetworks . repo . manager . IDENT_0 . IDENT_3 . IDENT_5 ) ; if ( index < 0 ) { throw new java . lang . IllegalArgumentException ( ( STRING_1 + name ) ) ; } return org . sagebionetworks . repo . model . IDENT_0 . IDENT_1 . valueOf ( name . substring ( 0 , index ) ) ; }
org . junit . Assert . assertEquals ( type , result )