METHOD_0 ( ) { final java . lang . String name = java . util . UUID . METHOD_1 ( ) . toString ( ) ; final org . pentaho . di . repository . IDENT_0 IDENT_1 = new org . pentaho . di . repository . METHOD_2 ( STRING_0 ) ; doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_3 ( name ) ; org . pentaho . di . repository . IDENT_0 id = repository . METHOD_3 ( name ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { try { org . pentaho . di . repository . IDENT_0 IDENT_3 = METHOD_4 ( name , null , IDENT_4 . IDENT_5 , false ) ; if ( IDENT_3 == null ) { java . util . List < org . pentaho . platform . api . IDENT_6 . IDENT_7 . IDENT_8 > IDENT_9 = METHOD_5 ( null , IDENT_4 . IDENT_5 , false ) ; java . lang . String [ ] IDENT_10 = new java . lang . String [ IDENT_9 . size ( ) ] ; for ( int i = 0 ; i < ( IDENT_9 . size ( ) ) ; i ++ ) { org . pentaho . platform . api . IDENT_6 . IDENT_7 . IDENT_8 file = IDENT_9 . get ( i ) ; IDENT_10 [ i ] = file . METHOD_6 ( ) ; } int index = org . pentaho . di . core . database . IDENT_11 . METHOD_7 ( IDENT_10 , name ) ; if ( index != ( - 1 ) ) { return new org . pentaho . di . repository . METHOD_2 ( IDENT_9 . get ( index ) . getId ( ) . toString ( ) ) ; } } return IDENT_3 ; } catch ( java . lang . Exception e ) { throw new org . pentaho . di . core . exception . METHOD_8 ( ( ( STRING_1 + name ) + "]" ) , e ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 , id )