METHOD_0 ( ) { final org . pentaho . metadata . model . IDENT_0 IDENT_1 = mock ( org . pentaho . metadata . model . IDENT_0 . class ) ; final org . pentaho . metadata . model . IDENT_2 IDENT_3 = mock ( org . pentaho . metadata . model . IDENT_2 . class ) ; when ( IDENT_3 . getProperty ( eq ( IDENT_4 . IDENT_5 . getId ( ) ) ) ) . thenReturn ( IDENT_6 . IDENT_7 ) ; final org . pentaho . metadata . model . IDENT_2 IDENT_8 = mock ( org . pentaho . metadata . model . IDENT_2 . class ) ; when ( IDENT_8 . getProperty ( eq ( IDENT_4 . IDENT_5 . getId ( ) ) ) ) . thenReturn ( IDENT_6 . IDENT_9 ) ; final org . pentaho . metadata . model . IDENT_2 IDENT_10 = mock ( org . pentaho . metadata . model . IDENT_2 . class ) ; when ( IDENT_10 . getProperty ( eq ( IDENT_4 . IDENT_5 . getId ( ) ) ) ) . thenReturn ( IDENT_6 . IDENT_7 ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( new java . util . IDENT_11 < org . pentaho . metadata . model . IDENT_2 > ( ) { { add ( IDENT_3 ) ; add ( IDENT_8 ) ; add ( IDENT_10 ) ; } } ) ; final int IDENT_12 = org . pentaho . di . IDENT_13 . IDENT_14 . METHOD_2 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . pentaho . metadata . model . IDENT_0 ) { for ( int i = 0 ; i < ( IDENT_1 . METHOD_1 ( ) . size ( ) ) ; i ++ ) { org . pentaho . metadata . model . IDENT_2 IDENT_15 = IDENT_1 . METHOD_1 ( ) . get ( i ) ; org . pentaho . metadata . model . IDENT_16 . types . IDENT_6 type = org . pentaho . di . IDENT_13 . IDENT_14 . METHOD_3 ( IDENT_15 ) ; if ( type == ( org . pentaho . metadata . model . IDENT_16 . types . IDENT_6 . IDENT_9 ) ) { return i ; } } return - 1 ; }
org . junit . Assert . assertEquals ( 1 , METHOD_2 )